X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/a8daac8f698fa38f1ca3aaa2a3ed6ac20e5128e2..ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387:/zic.tproj/Makefile diff --git a/zic.tproj/Makefile b/zic.tproj/Makefile index f2d77db..04a05f7 100644 --- a/zic.tproj/Makefile +++ b/zic.tproj/Makefile @@ -5,6 +5,9 @@ HFILES = private.h CFILES = ialloc.c scheck.c zic.c MANPAGES = zic.8 +Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic +Extra_LD_Flags = -dead_strip + include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make LOCALTIME= US/Pacific @@ -53,10 +56,12 @@ after_install: $(INSTALL_FILE) $(DATFILES)/iso3166.tab $(ZONEINFO) ifeq "$(Embedded)" "YES" $(INSTALL_DIRECTORY) $(DSTROOT)/private/var/db - $(LN) -hfs /usr/share/zoneinfo/$(LOCALTIME) $(DSTROOT)/private/var/db/localtime + $(INSTALL_DIRECTORY) -m a+rwx $(DSTROOT)/private/var/db/timezone + $(LN) -hfs /usr/share/zoneinfo/$(LOCALTIME) $(DSTROOT)/private/var/db/timezone/localtime else $(INSTALL_DIRECTORY) $(DSTROOT)/private/etc $(LN) -hfs /usr/share/zoneinfo/$(LOCALTIME) $(DSTROOT)/private/etc/localtime endif + $(RM) $(VERSIONFILE) echo $(DATVERS) > $(VERSIONFILE) chmod 444 $(VERSIONFILE)