]> Zhao Yanbai Git Server - minix.git/commitdiff
Removing warning about OSNAME.
authorLionel Sambuc <lionel@minix3.org>
Tue, 11 Dec 2012 13:44:51 +0000 (14:44 +0100)
committerLionel Sambuc <lionel@minix3.org>
Tue, 11 Dec 2012 16:29:54 +0000 (17:29 +0100)
Change-Id: I224105bee39ea24ecee031832dd4a059ddf2112a

external/bsd/mdocml/Makefile.inc
external/bsd/mdocml/dist/Makefile

index 293136f3cd189a74c00387f3fe01dbce77077103..242aa02a1be83f7e115458d648ee882a0159f2de 100644 (file)
@@ -5,7 +5,7 @@
 VERSION!=      cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
 
 CPPFLAGS+=     -DVERSION=\"${VERSION}\" -DUGLY
-CPPFLAGS+=     -DOSNAME=\"Minix\"
+CPPFLAGS+=     -UOSNAME -DOSNAME=\"Minix\"
 
 .if (${HOSTPROG:U} == "")
 CPPFLAGS+=     -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME -DHAVE_MMAP
index 934d6072ff36eaed0f94119b3fa37d66e99c4145..87d9e5ca103396f91bf93aebe555805a373d6e8c 100644 (file)
@@ -28,7 +28,7 @@ CFLAGS    += -g $(WFLAGS) $(VFLAGS) -DHAVE_CONFIG_H
 # Specify this if you want to hard-code the operating system to appear
 # in the lower-left hand corner of -mdoc manuals.
 # CFLAGS += -DOSNAME="\"OpenBSD 4.5\""
- CFLAGS += -DOSNAME="\"Minix\""
+CFLAGS += -UOSNAME -DOSNAME="\"Minix\""
 
 LINTFLAGS += $(VFLAGS)