summaryrefslogtreecommitdiff
path: root/lang/smlnj11072/patches/patch-src_runtime_objs_mk.ppc-linux
diff options
context:
space:
mode:
Diffstat (limited to 'lang/smlnj11072/patches/patch-src_runtime_objs_mk.ppc-linux')
-rw-r--r--lang/smlnj11072/patches/patch-src_runtime_objs_mk.ppc-linux15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/smlnj11072/patches/patch-src_runtime_objs_mk.ppc-linux b/lang/smlnj11072/patches/patch-src_runtime_objs_mk.ppc-linux
new file mode 100644
index 00000000000..eed43f6fd4d
--- /dev/null
+++ b/lang/smlnj11072/patches/patch-src_runtime_objs_mk.ppc-linux
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_runtime_objs_mk.ppc-linux,v 1.1 2016/07/03 19:29:28 dholland Exp $
+
+Honor pkgsrc CFLAGS.
+
+--- src/runtime/objs/mk.ppc-linux~ 2000-11-10 14:04:49.000000000 +0000
++++ src/runtime/objs/mk.ppc-linux
+@@ -6,7 +6,7 @@ SHELL = /bin/sh
+
+ MAKE = make
+ CC = gcc -ansi
+-CFLAGS = -O2
++CFLAGS = @CFLAGS@
+ CPP = gcc -x c -E -P -ansi
+ #XOBJS = xmonitor.o
+ #LD_LIBS = -lX11