From 4c77dac3b8f64eab165b656269ae5380aa7bbc27 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 7 Apr 2012 20:06:15 +0000 Subject: Use cpp -traditional whenever the compiler is gcc, not just on Dragonfly. This is only required for gcc 4.4 (I think) and up where otherwise cpp doesn't preserve whitespace, but it should be harmless for all gcc versions ranging back to the prehistorical. Fixes problems caused by running cpp on makefiles. --- news/nn/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'news/nn') diff --git a/news/nn/Makefile b/news/nn/Makefile index 1ecd758ca02..8d60ec15c07 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2012/04/07 11:47:19 obache Exp $ +# $NetBSD: Makefile,v 1.39 2012/04/07 20:06:15 dholland Exp $ DISTNAME= nn-6.7.3 CATEGORIES= news @@ -31,7 +31,7 @@ MFILE= m-mipsel.h MFILE= m-${LOWER_ARCH}.h .endif -.if ${OPSYS} == "DragonFly" +.if ${OPSYS} == "DragonFly" || !empty(CC_VERSION:Mgcc) CPP+= -traditional .endif -- cgit v1.2.3