]> git.saurik.com Git - apple/system_cmds.git/blobdiff - reboot.tproj/Makefile
system_cmds-541.tar.gz
[apple/system_cmds.git] / reboot.tproj / Makefile
index 40903abf9dc7c99f8451576acd0f9563ffe44ce3..47332e7e3f08d4faf3ddf58ed39041a8123997b6 100644 (file)
@@ -9,8 +9,11 @@ ifeq ($(Embedded),NO)
 USERDEFS = kextmanager.defs
 endif
 
+Extra_CC_Flags = -Wall -Werror
+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