mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-08 11:44:13 +00:00
Add IA32 build flag
This commit is contained in:
parent
c46309ea8a
commit
c7109c646a
@ -245,6 +245,13 @@ ERR=$(error FATAL: architecture could not be determined from $(CC) -dumpmachine:
|
||||
err: ; $(ERR)
|
||||
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
|
||||
override DEFS+=-DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=$(ZT_ARCHITECTURE) -DZT_SOFTWARE_UPDATE_DEFAULT="\"disable\""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user