]> git.saurik.com Git - apple/system_cmds.git/blobdiff - reboot.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / reboot.tproj / Makefile
index 40903abf9dc7c99f8451576acd0f9563ffe44ce3..59a49c470e9995310a45b49cb12ab1647aac4ccf 100644 (file)
@@ -9,8 +9,11 @@ ifeq ($(Embedded),NO)
 USERDEFS = kextmanager.defs
 endif
 
+Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic
+Extra_LD_Flags = -dead_strip
+
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
 after_install:
-       $(LN) $(DSTROOT)/$(Install_Dir)/reboot $(DSTROOT)$(Install_Dir)/halt
+       $(LN) -f $(DSTROOT)/$(Install_Dir)/reboot $(DSTROOT)$(Install_Dir)/halt
        $(LN) -fs reboot.8 $(DSTROOT)/usr/share/man/man8/halt.8