summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/Makefile
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-06 20:04:39 +0000
committerwollman <wollman@FreeBSD.org>1994-09-06 20:04:39 +0000
commit765cf6dfb0662daa19b312767021807d1a67fa31 (patch)
tree9b3d6c2e6e8180ba28820f5da68fe2d0709b3c2a /usr.sbin/config/Makefile
parentec8e5a16d94e9173904104cb0b5b35edf2ccc564 (diff)
downloadFreeBSD-src-765cf6dfb0662daa19b312767021807d1a67fa31.zip
FreeBSD-src-765cf6dfb0662daa19b312767021807d1a67fa31.tar.gz
Revert back to old config behavior if compiled with -DCONFIG_DONT_CLOBBER.
Diffstat (limited to 'usr.sbin/config/Makefile')
-rw-r--r--usr.sbin/config/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/config/Makefile b/usr.sbin/config/Makefile
index 94493d9..d59ea40 100644
--- a/usr.sbin/config/Makefile
+++ b/usr.sbin/config/Makefile
@@ -2,6 +2,9 @@
PROG= config
CFLAGS+=-I. -I${.CURDIR} -DSTATCLOCK
+.if defined(CONFIG_DONT_CLOBBER)
+CFLAGS+= -DCONFIG_DONT_CLOBBER
+.endif
SRCS= config.c main.c lang.c mkioconf.c mkmakefile.c mkglue.c mkheaders.c \
mkswapconf.c
MAN8= config.8
OpenPOWER on IntegriCloud