Module Name: src Committed By: joerg Date: Fri Aug 10 16:10:29 UTC 2012
Modified Files: src/external/bsd/am-utils/lib/libamu: Makefile src/external/bsd/bind/bin/named: Makefile src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: Decouple Clang from HAVE_GCC. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/am-utils/lib/libamu/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/bsd/bind/bin/named/Makefile cvs rdiff -u -r1.9 -r1.10 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/am-utils/lib/libamu/Makefile diff -u src/external/bsd/am-utils/lib/libamu/Makefile:1.3 src/external/bsd/am-utils/lib/libamu/Makefile:1.4 --- src/external/bsd/am-utils/lib/libamu/Makefile:1.3 Mon Jun 20 07:43:57 2011 +++ src/external/bsd/am-utils/lib/libamu/Makefile Fri Aug 10 16:10:29 2012 @@ -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 @@ SRCS= hasmntopt.c misc_rpc.c mount_fs.c 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 Index: src/external/bsd/bind/bin/named/Makefile diff -u src/external/bsd/bind/bin/named/Makefile:1.4 src/external/bsd/bind/bin/named/Makefile:1.5 --- src/external/bsd/bind/bin/named/Makefile:1.4 Sun Sep 11 18:55:24 2011 +++ src/external/bsd/bind/bin/named/Makefile Fri Aug 10 16:10:29 2012 @@ -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 @@ DIST=${IDIST}/bin/named 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 Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.9 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.10 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.9 Wed Sep 21 02:06:42 2011 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Fri Aug 10 16:10:29 2012 @@ -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 @@ COPTS.set_ld.c+= -Wno-error # 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