]> git.saurik.com Git - apple/system_cmds.git/blobdiff - sc_usage.tproj/Makefile.postamble
system_cmds-431.tar.gz
[apple/system_cmds.git] / sc_usage.tproj / Makefile.postamble
index 952893a93998438a2ae7f00da3c2bb4f18f157a4..a9cbc8d2572bfec36f639b99eaaee56c5ce1919c 100644 (file)
@@ -65,6 +65,9 @@
 #    DEBUG_BUILD_LDFLAGS, OPTIMIZE_BUILD_LDFLAGS, PROFILE_BUILD_LDFLAGS: flags
 #      passed to ld/libtool (defaults to nothing)
 
+ifeq "$(shell tconf --test TARGET_OS_EMBEDDED)" "YES"
+OPTIMIZE_BUILD_CFLAGS = -O
+endif
 
 # Library and Framework projects only:
 #    INSTALL_NAME_DIRECTIVE:  This directive ensures that executables linked