]> git.saurik.com Git - apple/system_cmds.git/blobdiff - dirhelper.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / dirhelper.tproj / Makefile
index 1e301e7ea75bbd7c3bd922130e4cdf271ba7fa39..bb05ae40952c8ac21bcd662fd2c7fe8ce5882d33 100644 (file)
@@ -6,8 +6,11 @@ SERVERDEFS = /usr/local/include/dirhelper.defs
 MANPAGES = dirhelper.8
 LAUNCHD_PLISTS = com.apple.bsd.dirhelper.plist
 
-Extra_CC_Flags = -D__MigTypeCheck=1
+Extra_CC_Flags = -mdynamic-no-pic
+Extra_CC_Flags += -D__MigTypeCheck=1
+Extra_LD_Flags = -dead_strip
+Extra_LD_Flags += -lbsm
+
 #CFLAGS = -g -mdynamic-no-pic -Os -Wall -Wextra -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 $(RC_CFLAGS) -I $(OBJDIR)
-Extra_LD_Flags = -lbsm
 
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make