summaryrefslogtreecommitdiff
path: root/lang/smlnj/patches/patch-src_runtime_objs_mk.x86-linux-pthreads
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-07-03 19:29:27 +0000
committerdholland <dholland@pkgsrc.org>2016-07-03 19:29:27 +0000
commit52445fa681c12ec6dafaad899f1aed40550b0d26 (patch)
tree4aea66e1790b5701429900421ef57b4afb29e595 /lang/smlnj/patches/patch-src_runtime_objs_mk.x86-linux-pthreads
parentbfb8fc0807ba567486c962755d755f92ebf2990b (diff)
downloadpkgsrc-52445fa681c12ec6dafaad899f1aed40550b0d26.tar.gz
Honor pkgsrc CFLAGS in all configs, not just some.
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-pthreads15
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