Move HAVE_SOCKADDR_SA_LEN=1 for darwin targets
This commit is contained in:
committed by
Brendan Chandler
parent
b2c4f0d015
commit
708cecfadc
@@ -3,7 +3,6 @@
|
||||
# Definitions for darwin-x86 host builds
|
||||
# Sites may override these definitions in CONFIG_SITE.darwin-x86.Common
|
||||
#-------------------------------------------------------
|
||||
#support for IPv6 etc.
|
||||
OP_SYS_CFLAGS += -DHAVE_SOCKADDR_SA_LEN=1
|
||||
|
||||
#Include definitions common to unix hosts
|
||||
include $(CONFIG)/os/CONFIG.UnixCommon.Common
|
||||
|
||||
@@ -30,8 +30,10 @@ ARCH_DEP_LDFLAGS += $(ARCH_DEP_FLAGS)
|
||||
#
|
||||
# Special flags for Darwin
|
||||
# No common blocks (as required when using shared libraries)
|
||||
# OS provides socket address length
|
||||
#
|
||||
OP_SYS_CFLAGS += -fno-common
|
||||
OP_SYS_CFLAGS += -DHAVE_SOCKADDR_SA_LEN=1
|
||||
|
||||
#
|
||||
# Darwin os definition
|
||||
|
||||
Reference in New Issue
Block a user