Module Name: src
Committed By: christos
Date: Wed May 4 17:17:00 UTC 2016
Modified Files:
src/external/gpl2/libmalloc/lib: Makefile
Log Message:
limit to gcc, requested by joerg.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl2/libmalloc/lib/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/gpl2/libmalloc/lib/Makefile
diff -u src/external/gpl2/libmalloc/lib/Makefile:1.4 src/external/gpl2/libmalloc/lib/Makefile:1.5
--- src/external/gpl2/libmalloc/lib/Makefile:1.4 Wed May 4 10:39:49 2016
+++ src/external/gpl2/libmalloc/lib/Makefile Wed May 4 13:17:00 2016
@@ -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 @@ SRCS+= ralloc.c
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}