]> git.saurik.com Git - apple/libsystem.git/blobdiff - Platforms/MacOSX/Makefile.inc
Libsystem-159.tar.gz
[apple/libsystem.git] / Platforms / MacOSX / Makefile.inc
index ba71feed7761c78a3485aa3b603fdf824bb5b179..ccf3402d3d99d81c003ca31a9b914c81498c8d00 100644 (file)
@@ -5,11 +5,11 @@
 # Build _debug.dylib
 FEATURE_DEBUG_DYLIB = 1
 
-# Link libmathCommon
-FEATURE_LIBMATHCOMMON = 1
-
-# Use order file
-FEATURE_ORDER_FILE = 1
-
 # Build _profile.dylib
 FEATURE_PROFILE_DYLIB = 1
+
+# Use different order file if it exists
+ALTORDERFILE = /AppleInternal/OrderFiles/libSystem.order
+ifeq ($(shell [ ! -f $(ALTORDERFILE) ] || echo YES),YES)
+PLATFORM_ORDER_FILE = $(ALTORDERFILE)
+endif