Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/libmalloc/lib limit to gcc, requested by joerg.



details:   https://anonhg.NetBSD.org/src/rev/0c8709c75d1a
branches:  trunk
changeset: 815191:0c8709c75d1a
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 04 17:17:00 2016 +0000

description:
limit to gcc, requested by joerg.

diffstat:

 external/gpl2/libmalloc/lib/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r fefe7bcc67f6 -r 0c8709c75d1a external/gpl2/libmalloc/lib/Makefile
--- a/external/gpl2/libmalloc/lib/Makefile      Wed May 04 15:42:32 2016 +0000
+++ b/external/gpl2/libmalloc/lib/Makefile      Wed May 04 17:17:00 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2016/05/04 14:39:49 christos Exp $
+#      $NetBSD: Makefile,v 1.5 2016/05/04 17:17:00 christos Exp $
 
 NOMAN= # defined
 .include <bsd.init.mk>
@@ -12,7 +12,10 @@
 
 
 CPPFLAGS+= -I${DIST} -I${.CURDIR} -DSTDC_HEADERS -DHAVE_STDLIB_H -DHAVE_UNISTD_H
+
+.if ${HAVE_GCC:U0} >= 53
 COPTS+=-fno-builtin-malloc
+.endif
 
 .PATH: ${DIST}
 



Home | Main Index | Thread Index | Old Index