X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/a8daac8f698fa38f1ca3aaa2a3ed6ac20e5128e2..ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387:/reboot.tproj/Makefile diff --git a/reboot.tproj/Makefile b/reboot.tproj/Makefile index 40903ab..59a49c4 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 -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