openbsd-ports/lang/sbcl/patches/patch-src_runtime_GNUmakefile
2012-08-11 23:02:23 +00:00

24 lines
660 B
Plaintext

$OpenBSD: patch-src_runtime_GNUmakefile,v 1.5 2012/08/11 23:02:23 pascal Exp $
Don't override external CFLAGS and LINKFLAGS.
--- src/runtime/GNUmakefile.orig Mon Dec 5 00:09:01 2011
+++ src/runtime/GNUmakefile Sat Aug 11 17:05:14 2012
@@ -18,14 +18,14 @@ TARGET=sbcl
# Config file. Most of them are same on most systems right now.
# If you need to override one of these, do it in Config.
LD = ld
-LINKFLAGS = -g
+LINKFLAGS += -g
NM = nm -gp
DEPEND_FLAGS = -MM
GREP = grep
include ../../output/prefix.def
-CFLAGS = -g -Wall -Wsign-compare -O3
+CFLAGS += -Wall -Wsign-compare
ASFLAGS = $(CFLAGS)
CPPFLAGS = -I. -DSBCL_PREFIX=\"$(SBCL_PREFIX)\"