]> git.saurik.com Git - apple/system_cmds.git/blobdiff - pwd_mkdb.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / pwd_mkdb.tproj / Makefile
index 98c0b2daaf1c50a85fc734f1116c04467cb23202..03e22f01fa57089cf319733257de26651c628cd3 100644 (file)
@@ -6,6 +6,9 @@ CFILES = pwd_mkdb.c pw_scan.c
 OTHERSRCS = Makefile.preamble Makefile Makefile.postamble pwd_mkdb.8
 MANPAGES = pwd_mkdb.8
 
 OTHERSRCS = Makefile.preamble Makefile Makefile.postamble pwd_mkdb.8
 MANPAGES = pwd_mkdb.8
 
-Extra_CC_Flags = -D_PW_NAME_LEN=MAXLOGNAME -D_PW_YPTOKEN=\"__YP!\"
+Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic
+Extra_LD_Flags = -dead_strip
+
+Extra_CC_Flags += -D_PW_NAME_LEN=MAXLOGNAME -D_PW_YPTOKEN=\"__YP!\"
 
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make