X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/916eb79ee6e2fd3e1ab08275e76ec4e126cab685..8459d7254751dbe55e98bb49dd51e1796df2bb0d:/reboot.tproj/Makefile diff --git a/reboot.tproj/Makefile b/reboot.tproj/Makefile index 40903ab..47332e7 100644 --- a/reboot.tproj/Makefile +++ b/reboot.tproj/Makefile @@ -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