mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 20:43:44 +02:00
Add IA32 build flag
This commit is contained in:
parent
c46309ea8a
commit
c7109c646a
1 changed files with 7 additions and 0 deletions
|
@ -245,6 +245,13 @@ ERR=$(error FATAL: architecture could not be determined from $(CC) -dumpmachine:
|
||||||
err: ; $(ERR)
|
err: ; $(ERR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Flag for Intel 32-bit processors since some machine images are incorrectly marked as i386
|
||||||
|
ifeq ($(ZT_IA32),1)
|
||||||
|
override LDFLAGS+=-m32
|
||||||
|
override CFLAGS+=-m32
|
||||||
|
override CXXFLAGS+=-m32
|
||||||
|
endif
|
||||||
|
|
||||||
# Disable software updates by default on Linux since that is normally done with package management
|
# Disable software updates by default on Linux since that is normally done with package management
|
||||||
override DEFS+=-DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=$(ZT_ARCHITECTURE) -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\""
|
override DEFS+=-DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=$(ZT_ARCHITECTURE) -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue