Module Name: src
Committed By: christos
Date: Wed May 4 14:39:49 UTC 2016
Modified Files:
src/external/gpl2/libmalloc/lib: Makefile
Log Message:
prevent gcc from combining memset+malloc -> calloc inside calloc so that
we end up calling ourselves recursively.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 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.3 src/external/gpl2/libmalloc/lib/Makefile:1.4
--- src/external/gpl2/libmalloc/lib/Makefile:1.3 Fri Jan 15 10:14:02 2016
+++ src/external/gpl2/libmalloc/lib/Makefile Wed May 4 10:39:49 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2016/01/15 15:14:02 christos Exp $
+# $NetBSD: Makefile,v 1.4 2016/05/04 14:39:49 christos Exp $
NOMAN= # defined
.include <bsd.init.mk>
@@ -12,6 +12,7 @@ SRCS+= ralloc.c
CPPFLAGS+= -I${DIST} -I${.CURDIR} -DSTDC_HEADERS -DHAVE_STDLIB_H -DHAVE_UNISTD_H
+COPTS+=-fno-builtin-malloc
.PATH: ${DIST}