aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-07-09 11:02:39 +0800
committerdanfe <danfe@FreeBSD.org>2013-07-09 11:02:39 +0800
commit47d1cd757834b07f1c0f8c380cd17881418c8726 (patch)
tree111cc195e93a9facbab8627bc03fb752a064816f /lang
parent6bbf4653a81a7f86f3919931bc3085416ca4713b (diff)
downloadfreebsd-ports-gnome-47d1cd757834b07f1c0f8c380cd17881418c8726.tar.gz
freebsd-ports-gnome-47d1cd757834b07f1c0f8c380cd17881418c8726.tar.zst
freebsd-ports-gnome-47d1cd757834b07f1c0f8c380cd17881418c8726.zip
Respect CFLAGS is a saner manner.
Diffstat (limited to 'lang')
-rw-r--r--lang/ats/files/patch-Makefile20
-rw-r--r--lang/ats/files/patch-Makefile__bootstrap2
2 files changed, 11 insertions, 11 deletions
diff --git a/lang/ats/files/patch-Makefile b/lang/ats/files/patch-Makefile
index 190dbc2177a9..f6db4d0638cc 100644
--- a/lang/ats/files/patch-Makefile
+++ b/lang/ats/files/patch-Makefile
@@ -57,30 +57,30 @@
- $(ATSLIB) $(ATS_PROOFCHECK) -O2 --libats
- $(ATSLIB) $(ATS_PROOFCHECK) -O2 --libats_lex
- $(ATSLIB) $(ATS_PROOFCHECK) -O2 --libats_smlbas
-+ $(ATSLIB) $(ATS_PROOFCHECK) -O2 $(CFLAGS) --libats
-+ $(ATSLIB) $(ATS_PROOFCHECK) -O2 $(CFLAGS) --libats_lex
-+ $(ATSLIB) $(ATS_PROOFCHECK) -O2 $(CFLAGS) --libats_smlbas
++ $(ATSLIB) $(ATS_PROOFCHECK) $(CFLAGS) --libats
++ $(ATSLIB) $(ATS_PROOFCHECK) $(CFLAGS) --libats_lex
++ $(ATSLIB) $(ATS_PROOFCHECK) $(CFLAGS) --libats_smlbas
lib32files: .libfiles_local
- $(ATSLIB) $(ATS_PROOFCHECK) -m32 -O2 --libats
- $(ATSLIB) $(ATS_PROOFCHECK) -m32 -O2 --libats_lex
- $(ATSLIB) $(ATS_PROOFCHECK) -m32 -O2 --libats_smlbas
-+ $(ATSLIB) $(ATS_PROOFCHECK) -m32 -O2 $(CFLAGS) --libats
-+ $(ATSLIB) $(ATS_PROOFCHECK) -m32 -O2 $(CFLAGS) --libats_lex
-+ $(ATSLIB) $(ATS_PROOFCHECK) -m32 -O2 $(CFLAGS) --libats_smlbas
++ $(ATSLIB) $(ATS_PROOFCHECK) -m32 $(CFLAGS) --libats
++ $(ATSLIB) $(ATS_PROOFCHECK) -m32 $(CFLAGS) --libats_lex
++ $(ATSLIB) $(ATS_PROOFCHECK) -m32 $(CFLAGS) --libats_smlbas
lib64files: .libfiles_local
- $(ATSLIB) $(ATS_PROOFCHECK) -m64 -O2 --libats
- $(ATSLIB) $(ATS_PROOFCHECK) -m64 -O2 --libats_lex
- $(ATSLIB) $(ATS_PROOFCHECK) -m64 -O2 --libats_smlbas
-+ $(ATSLIB) $(ATS_PROOFCHECK) -m64 -O2 $(CFLAGS) --libats
-+ $(ATSLIB) $(ATS_PROOFCHECK) -m64 -O2 $(CFLAGS) --libats_lex
-+ $(ATSLIB) $(ATS_PROOFCHECK) -m64 -O2 $(CFLAGS) --libats_smlbas
++ $(ATSLIB) $(ATS_PROOFCHECK) -m64 $(CFLAGS) --libats
++ $(ATSLIB) $(ATS_PROOFCHECK) -m64 $(CFLAGS) --libats_lex
++ $(ATSLIB) $(ATS_PROOFCHECK) -m64 $(CFLAGS) --libats_smlbas
.libfiles_mt_local: .libfiles_mt ; $(CC) -E -P -x c -o $@ $<
libfiles_mt: .libfiles_mt_local
- $(ATSLIB) $(ATS_PROOFCHECK) -D_ATS_MULTITHREAD -O2 --libats_mt
-+ $(ATSLIB) $(ATS_PROOFCHECK) -D_ATS_MULTITHREAD -O2 $(CFLAGS) --libats_mt
++ $(ATSLIB) $(ATS_PROOFCHECK) -D_ATS_MULTITHREAD $(CFLAGS) --libats_mt
libatsdoca: ; $(MAKE) -C libatsdoc
diff --git a/lang/ats/files/patch-Makefile__bootstrap b/lang/ats/files/patch-Makefile__bootstrap
index a20bbab26859..df5c27b77f54 100644
--- a/lang/ats/files/patch-Makefile__bootstrap
+++ b/lang/ats/files/patch-Makefile__bootstrap
@@ -5,7 +5,7 @@
BOOTSTRAP1=1
ifdef BOOTSTRAP1
-ATSCCFLAGS=-I$(ATSHOMEQ) -I$(ATSRUNTIME) -O2 -g
-+ATSCCFLAGS=-I$(ATSHOMEQ) -I$(ATSRUNTIME) -O2 -g $(CFLAGS)
++ATSCCFLAGS=-I$(ATSHOMEQ) -I$(ATSRUNTIME) $(CFLAGS)
endif
LIBGMP=