summaryrefslogtreecommitdiff
path: root/make/unit-cc.pl
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-07-04 10:17:48 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-07-04 10:17:48 -0700
commit27ae66eb3fb7056570936e7f4655ec3128bac2a7 (patch)
tree87621d8cecc160fa7b2089f7b32a6c6b61cea324 /make/unit-cc.pl
parentfd0fa86da89ab4cefa778307088ef2552a05a170 (diff)
parent240f34086a805dc4c3151aae00101f9bec6870df (diff)
Merge pull request #577 from SaberUK/master+makefile-cleanup
Tidy up the Makefile template.
Diffstat (limited to 'make/unit-cc.pl')
-rwxr-xr-xmake/unit-cc.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/unit-cc.pl b/make/unit-cc.pl
index 7474365aa..df718cdb8 100755
--- a/make/unit-cc.pl
+++ b/make/unit-cc.pl
@@ -97,7 +97,7 @@ sub do_compile {
my $libs = '';
my $binary = $ENV{RUNCC};
if ($do_compile) {
- $flags = $ENV{CXXFLAGS};
+ $flags = $ENV{CORECXXFLAGS};
$flags =~ s/ -pedantic// if nopedantic($file);
$flags .= ' ' . getcompilerflags($file);