]> git.saurik.com Git - apple/libsystem.git/blobdiff - Makefile.preamble
Libsystem-88.3.4.tar.gz
[apple/libsystem.git] / Makefile.preamble
index 582ce097bc679e526745b3f70ea0e25cd6f3f774..a2973d25f791f8d168c8bb8675b107f42db64893 100644 (file)
@@ -12,9 +12,11 @@ DEBUG_BUILD_LIBS := $(foreach LIBS, $(LIBS), $(LIBS)_debug  ) $(GCCLIBS)
 OTHER_LIBTOOL_FLAGS = $(OFILE_DIR)/spinlock_stub.o \
        $(OFILE_DIR)/spinlocktry_stub.o \
        $(OFILE_DIR)/spinunlock_stub.o \
-       -L/usr/lib/system -sub_library libmathCommon \
-       -lmathCommon -sectorder __TEXT __text System.order \
+       -L/usr/lib/system -sub_library libmathCommon -lmathCommon \
        -segcreate __DATA __commpage $(OFILE_DIR)/CommPageSymbols.o
+ifndef LP64
+OTHER_LIBTOOL_FLAGS += -sectorder __TEXT __text System.order
+endif
 
 BSD_LIBS = c info kvm m pthread dbm poll dl rpcsvc