summaryrefslogtreecommitdiff
path: root/Makefile.top
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-09 14:14:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-11 14:46:44 +0100
commit6c158f5a2db7d1492f09ff6a1bf4c3b4244599f5 (patch)
tree52ed75fc34894ebe11663f923436687d849ec375 /Makefile.top
parent38fea22431aeddbaf286a27c228be570938579af (diff)
convenient to unset compiler flags for callcatcher
Change-Id: I31da2812848d5172bf575d64fa6a28e69b35ecd4
Diffstat (limited to 'Makefile.top')
-rw-r--r--Makefile.top3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.top b/Makefile.top
index bed77fb918df..f497407b3467 100644
--- a/Makefile.top
+++ b/Makefile.top
@@ -453,6 +453,9 @@ findunusedcode:
@which callcatcher > /dev/null 2>&1 || \
(echo "callcatcher not installed" && false)
@sed -e s,$$INPATH,callcatcher,g $(SRCDIR)/config_host.mk | sed -e s,"export OOO_JUNIT_JAR=.*","export OOO_JUNIT_JAR=",g > $(SRCDIR)/config_host_callcatcher.mk
+ @echo unexport ARCH_FLAGS >> $(SRCDIR)/config_host_callcatcher.mk
+ @echo unexport CFLAGS >> $(SRCDIR)/config_host_callcatcher.mk
+ @echo unexport CXXFLAGS >> $(SRCDIR)/config_host_callcatcher.mk
@mkdir -p $(SRCDIR)/solenv/callcatcher/bin && \
ln -sf $(SRCDIR)/solenv/$(INPATH)/bin/dmake \
$(SRCDIR)/solenv/callcatcher/bin/dmake