diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-06 19:11:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-06 19:11:54 +0000 |
commit | 81a80cf18dfb0d2c181f37070df4c0bcee447b6f (patch) | |
tree | 2b540bea449476e38cd4184199337f3139843d9a /usr.bin/mandoc | |
parent | 4deeb07029db0412704e811b0e924993fe415641 (diff) |
Remove support for COMPILER_VERSION == gcc2.
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r-- | usr.bin/mandoc/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile index e9bd2d34811..c67f79c002f 100644 --- a/usr.bin/mandoc/Makefile +++ b/usr.bin/mandoc/Makefile @@ -1,13 +1,9 @@ -# $OpenBSD: Makefile,v 1.69 2012/04/15 13:52:59 schwarze Exp $ +# $OpenBSD: Makefile,v 1.70 2013/08/06 19:11:53 miod Exp $ .include <bsd.own.mk> CFLAGS+=-DVERSION=\"1.12.1\" -CFLAGS+=-W -Wall -Wstrict-prototypes - -.if ${COMPILER_VERSION:L} == "gcc3" || ${COMPILER_VERSION:L} == "gcc4" -CFLAGS+=-Wno-unused-parameter -.endif +CFLAGS+=-W -Wall -Wstrict-prototypes -Wno-unused-parameter SRCS= roff.c tbl.c tbl_opts.c tbl_layout.c tbl_data.c eqn.c mandoc.c read.c SRCS+= mdoc_macro.c mdoc.c mdoc_hash.c \ |