Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/compiler_rt Restore -Wno-error for clang build. Jus...



details:   https://anonhg.NetBSD.org/src/rev/3e53da768bde
branches:  trunk
changeset: 326514:3e53da768bde
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jan 31 22:17:50 2014 +0000

description:
Restore -Wno-error for clang build. Just don't try to force GCC 4.1 for
clang, okay?

diffstat:

 lib/libm/compiler_rt/Makefile.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r a850c8886c3c -r 3e53da768bde lib/libm/compiler_rt/Makefile.inc
--- a/lib/libm/compiler_rt/Makefile.inc Fri Jan 31 21:11:05 2014 +0000
+++ b/lib/libm/compiler_rt/Makefile.inc Fri Jan 31 22:17:50 2014 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index