Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external Decouple Clang from HAVE_GCC.
details: https://anonhg.NetBSD.org/src/rev/0c8727105d8d
branches: trunk
changeset: 780888:0c8727105d8d
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Aug 10 16:10:29 2012 +0000
description:
Decouple Clang from HAVE_GCC.
diffstat:
external/bsd/am-utils/lib/libamu/Makefile | 4 ++--
external/bsd/bind/bin/named/Makefile | 4 ++--
external/lgpl3/mpfr/lib/libmpfr/Makefile | 4 +---
3 files changed, 5 insertions(+), 7 deletions(-)
diffs (52 lines):
diff -r af62af65a67e -r 0c8727105d8d external/bsd/am-utils/lib/libamu/Makefile
--- a/external/bsd/am-utils/lib/libamu/Makefile Fri Aug 10 16:05:26 2012 +0000
+++ b/external/bsd/am-utils/lib/libamu/Makefile Fri Aug 10 16:10:29 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $
+# $NetBSD: Makefile,v 1.4 2012/08/10 16:10:29 joerg Exp $
NOLINKLIB= # defined
@@ -18,7 +18,7 @@
wire.c xdr_func.c xutil.c
# XXX
-.if defined(HAVE_GCC)
+.if defined(HAVE_GCC) || defined(HAVE_LLVM)
COPTS.xdr_func.c+= -fno-strict-aliasing
.endif
diff -r af62af65a67e -r 0c8727105d8d external/bsd/bind/bin/named/Makefile
--- a/external/bsd/bind/bin/named/Makefile Fri Aug 10 16:05:26 2012 +0000
+++ b/external/bsd/bind/bin/named/Makefile Fri Aug 10 16:10:29 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2011/09/11 18:55:24 christos Exp $
+# $NetBSD: Makefile,v 1.5 2012/08/10 16:10:29 joerg Exp $
.include <bsd.own.mk>
@@ -13,7 +13,7 @@
CPPFLAGS+=-I${DIST}/include -I${DIST}/unix/include -DCONFIGARGS=\"defaults\"
CPPFLAGS+=-DNO_VERSION_DATE
-.if defined(HAVE_GCC)
+.if defined(HAVE_GCC) || defined(HAVE_LLVM)
.for f in client
COPTS.${f}.c+= -fno-strict-aliasing
.endfor
diff -r af62af65a67e -r 0c8727105d8d external/lgpl3/mpfr/lib/libmpfr/Makefile
--- a/external/lgpl3/mpfr/lib/libmpfr/Makefile Fri Aug 10 16:05:26 2012 +0000
+++ b/external/lgpl3/mpfr/lib/libmpfr/Makefile Fri Aug 10 16:10:29 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2011/09/21 02:06:42 mrg Exp $
+# $NetBSD: Makefile,v 1.10 2012/08/10 16:10:29 joerg Exp $
.include <bsd.init.mk>
@@ -520,6 +520,4 @@
# Don't warn about functions which cannot be stack smash protected as
# there are a lot of them.
-.if defined(HAVE_GCC) || defined(HAVE_PCC)
COPTS += -Wno-stack-protector
-.endif
Home |
Main Index |
Thread Index |
Old Index