summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2018-04-05 20:27:50 +0000
committerAaron Smith <aaron.smith@microsoft.com>2018-04-05 20:27:50 +0000
commit596b0f03a08cabaf460603160c00720b059dcd08 (patch)
tree9d6e1c6b9cd894ac7460e81a71f6fbb5971e3577 /clang/lib/Frontend/CompilerInvocation.cpp
parentc6bb36a3d026a53152ed1635c41dbfad3664ecd5 (diff)
downloadbcm5719-llvm-596b0f03a08cabaf460603160c00720b059dcd08.tar.gz
bcm5719-llvm-596b0f03a08cabaf460603160c00720b059dcd08.zip
[cmake] Remove duplicate command line options from build
CMAKE_CXX_FLAGS and CMAKE_C_FLAGS are added twice to the command line. This causes the command line options to be doubled which works until it doesn't as not all options can be specified twice. For example, clang-cl foo.c /GS- /GS- -mllvm -small-loop-cost=1 -mllvm -small-loop-cost=1 clang (LLVM option parsing): for the -small-loop-cost option: may only occur zero or one times! llvm-svn: 329340
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud