diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-28 00:06:34 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-08-28 00:09:01 +0400 |
commit | 84590f3fe9507887cebdcc11b3d1bc93180dc5a7 (patch) | |
tree | 488569704b69eaf8138477d476f3d03ce2ecbb4a /common.gypi | |
parent | 2d0c1da975d13910700c2591339e64be229607ac (diff) |
build: fix -fno-tree-vrp heuristic
-fno-tree-vrp is a gcc only switch. Don't enable it when compiling with clang,
it will only complain about -fno-tree-vrp being ignored.
Diffstat (limited to 'common.gypi')
-rw-r--r-- | common.gypi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi index b2a9bee2757..aad7e2f4009 100644 --- a/common.gypi +++ b/common.gypi @@ -66,7 +66,7 @@ }, { 'cflags!': [ '-ffunction-sections', '-fdata-sections' ], }], - ['clang==1 or gcc_version >= 40', { + ['clang == 0 and gcc_version >= 40', { 'cflags': [ '-fno-tree-vrp' ], }], ], |