Module Name: src
Committed By: joerg
Date: Fri Jan 31 22:17:51 UTC 2014
Modified Files:
src/lib/libm/compiler_rt: Makefile.inc
Log Message:
Restore -Wno-error for clang build. Just don't try to force GCC 4.1 for
clang, okay?
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libm/compiler_rt/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/compiler_rt/Makefile.inc
diff -u src/lib/libm/compiler_rt/Makefile.inc:1.2 src/lib/libm/compiler_rt/Makefile.inc:1.3
--- src/lib/libm/compiler_rt/Makefile.inc:1.2 Fri Jan 31 10:35:14 2014
+++ src/lib/libm/compiler_rt/Makefile.inc Fri Jan 31 22:17:50 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.2 2014/01/31 10:35:14 martin Exp $
+# $NetBSD: Makefile.inc,v 1.3 2014/01/31 22:17:50 joerg Exp $
COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
@@ -28,7 +28,7 @@ GENERIC_SRCS+= \
SRCS+= ${src:R}.S
. else
SRCS+= ${src}
-. if ${ACTIVE_CC} == "gcc" && ${HAVE_GCC} != "4"
+. if ${HAVE_GCC:U} != "4"
COPTS.${src}+= -Wno-error=missing-prototypes
. endif
. endif