Removing warning about OSNAME.
Change-Id: I224105bee39ea24ecee031832dd4a059ddf2112a
This commit is contained in:
parent
2dc480bd58
commit
cee2d9a296
2 changed files with 2 additions and 2 deletions
2
external/bsd/mdocml/Makefile.inc
vendored
2
external/bsd/mdocml/Makefile.inc
vendored
|
@ -5,7 +5,7 @@
|
||||||
VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
|
VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
|
||||||
|
|
||||||
CPPFLAGS+= -DVERSION=\"${VERSION}\" -DUGLY
|
CPPFLAGS+= -DVERSION=\"${VERSION}\" -DUGLY
|
||||||
CPPFLAGS+= -DOSNAME=\"Minix\"
|
CPPFLAGS+= -UOSNAME -DOSNAME=\"Minix\"
|
||||||
|
|
||||||
.if (${HOSTPROG:U} == "")
|
.if (${HOSTPROG:U} == "")
|
||||||
CPPFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME -DHAVE_MMAP
|
CPPFLAGS+= -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRPTIME -DHAVE_MMAP
|
||||||
|
|
2
external/bsd/mdocml/dist/Makefile
vendored
2
external/bsd/mdocml/dist/Makefile
vendored
|
@ -28,7 +28,7 @@ CFLAGS += -g $(WFLAGS) $(VFLAGS) -DHAVE_CONFIG_H
|
||||||
# Specify this if you want to hard-code the operating system to appear
|
# Specify this if you want to hard-code the operating system to appear
|
||||||
# in the lower-left hand corner of -mdoc manuals.
|
# in the lower-left hand corner of -mdoc manuals.
|
||||||
# CFLAGS += -DOSNAME="\"OpenBSD 4.5\""
|
# CFLAGS += -DOSNAME="\"OpenBSD 4.5\""
|
||||||
CFLAGS += -DOSNAME="\"Minix\""
|
CFLAGS += -UOSNAME -DOSNAME="\"Minix\""
|
||||||
|
|
||||||
LINTFLAGS += $(VFLAGS)
|
LINTFLAGS += $(VFLAGS)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue