summaryrefslogtreecommitdiff
path: root/lang/smlnj/patches/patch-an
blob: 0c07ca5df4be9dd3ad47c2fb54766094d85f7737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-an,v 1.2 2016/04/14 22:04:47 dholland Exp $

Honor pkgsrc CFLAGS.

--- src/runtime/objs/mk.sparc-sunos.orig	Thu Jun  1 14:33:52 2000
+++ src/runtime/objs/mk.sparc-sunos
@@ -4,7 +4,7 @@
 SHELL		= /bin/sh
 
 CC =		gcc -ansi
-CFLAGS =	-O2
+CFLAGS =	@CFLAGS@
 CPP =		gcc -x c -E -P -ansi
 #XOBJS =	xmonitor.o
 #LD_LIBS =	-lX11