pkgsrc/lang/smlnj11072/patches/patch-src_runtime_objs_mk.x86-freebsd

15 lines
386 B
Text

$NetBSD: patch-src_runtime_objs_mk.x86-freebsd,v 1.1 2016/07/03 19:29:28 dholland Exp $
Honor pkgsrc CFLAGS.
--- src/runtime/objs/mk.x86-freebsd~ 2006-04-20 15:28:53.000000000 +0000
+++ src/runtime/objs/mk.x86-freebsd
@@ -9,7 +9,7 @@ MAKE = gmake
ARFLAGS = Trcv
CC = gcc -ansi
-CFLAGS = -O2
+CFLAGS = @CFLAGS@
CPP = gcc -x assembler-with-cpp -E -P
#CPP = /usr/bin/cpp -P