summaryrefslogtreecommitdiff
path: root/lang/smlnj11072/patches/patch-am
blob: fb2b8018bfefda8b6ee2cec8fa0b55d271fccdc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-am,v 1.2 2016/07/03 18:33:36 dholland Exp $

Honor pkgsrc CFLAGS.

--- src/runtime/objs/mk.sparc-solaris.orig	Fri Jun 15 15:05:19 2001
+++ src/runtime/objs/mk.sparc-solaris
@@ -8,7 +8,7 @@ AS =		/usr/ccs/bin/as
 AR =		/usr/ccs/bin/ar
 GCC =		gcc
 CC =		$(GCC)
-CFLAGS =	-O3
+CFLAGS =	@CFLAGS@
 #CFLAGS =	-g
 CPP =		$(GCC) -x c -E -P
 RANLIB =	$(AR) ts