summaryrefslogtreecommitdiff
path: root/lang/smlnj/patches/patch-am
blob: c2f5d7a96760120070d04a599adfcf90ca70e020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-am,v 1.2 2016/04/14 22:04:47 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