summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranziskus Kiefer <franziskuskiefer@gmail.com>2016-10-12 14:21:56 +0200
committerFranziskus Kiefer <franziskuskiefer@gmail.com>2016-10-12 14:21:56 +0200
commit329d62bde687385a6da93e258b21c696475f9a7b (patch)
treee303fb14597309208a0f2d2ba2e6c23827af34e0 /Makefile
parentd05e0794a0a836c8d49949678c7abdea21551972 (diff)
downloadnss-hg-329d62bde687385a6da93e258b21c696475f9a7b.tar.gz
Bug 1310168 - Allow CC/CCC in makefiles and use it on TC, r=ttaubert
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6a2e453ed..32f822cee 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,12 @@ endif
ifdef NS_USE_GCC
NSPR_CONFIGURE_ENV = CC=gcc CXX=g++
endif
+ifdef CC
+NSPR_CONFIGURE_ENV = CC=$(CC)
+endif
+ifdef CCC
+NSPR_CONFIGURE_ENV += CXX=$(CCC)
+endif
ifdef SANITIZER_CFLAGS
ifdef BUILD_OPT