MANPAGES = arch.1 machine.1
-Extra_CC_Flags = -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
+Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic
+Extra_LD_Flags = -dead_strip
+
+Extra_CC_Flags += -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
HELPERDIR = /AppleInternal/Developer/Tools
after_install:
@-$(RM) -f $(DSTROOT)$(INSTALLDIR)/machine
- $(LN) -h $(DSTROOT)$(Install_Dir)/arch $(DSTROOT)$(Install_Dir)/machine
+ $(LN) -fh $(DSTROOT)$(Install_Dir)/arch $(DSTROOT)$(Install_Dir)/machine
$(INSTALL_DIRECTORY) -d $(DSTROOT)$(HELPERDIR)
$(INSTALL_SCRIPT) arch_helper.pl $(DSTROOT)$(HELPERDIR)