diff options
Diffstat (limited to 'lang/smlnj/patches/patch-src_runtime_objs_mk.x86-linux-pthreads')
-rw-r--r-- | lang/smlnj/patches/patch-src_runtime_objs_mk.x86-linux-pthreads | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/smlnj/patches/patch-src_runtime_objs_mk.x86-linux-pthreads b/lang/smlnj/patches/patch-src_runtime_objs_mk.x86-linux-pthreads new file mode 100644 index 00000000000..e80a4df198e --- /dev/null +++ b/lang/smlnj/patches/patch-src_runtime_objs_mk.x86-linux-pthreads @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_objs_mk.x86-linux-pthreads,v 1.1 2016/07/03 19:29:27 dholland Exp $ + +Honor pkgsrc CFLAGS. + +--- src/runtime/objs/mk.x86-linux-pthreads~ 2004-01-31 14:24:42.000000000 +0000 ++++ src/runtime/objs/mk.x86-linux-pthreads +@@ -5,7 +5,7 @@ SHELL = /bin/sh + + MAKE = make + CC = gcc -ansi +-CFLAGS = -O2 -D_REENTRANT ++CFLAGS = @CFLAGS@ -D_REENTRANT + CPP = gcc -x assembler-with-cpp -E -P + #XOBJS = xmonitor.o + #LD_LIBS = -lX11 |