summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-30 22:34:30 +0000
committerEric Christopher <echristo@gmail.com>2013-07-30 22:34:30 +0000
commit83afc1e43b78ceea236f166c1ceaa7b3183499a6 (patch)
treedd3a350ae770d24818d909d4a392a169e52e3fe1 /llvm/cmake/modules
parent130e0ef6f4688d90fbf0cb9276b59f1d253f35c0 (diff)
downloadbcm5719-llvm-83afc1e43b78ceea236f166c1ceaa7b3183499a6.tar.gz
bcm5719-llvm-83afc1e43b78ceea236f166c1ceaa7b3183499a6.zip
Make sure that -gsplit-dwarf isn't passed to the linker.
llvm-svn: 187456
Diffstat (limited to 'llvm/cmake/modules')
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 88a4730f659..58ffb8db515 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -263,7 +263,7 @@ endif()
# Turn on -gsplit-dwarf if requested
if(LLVM_USE_SPLIT_DWARF)
- add_flag_if_supported("-gsplit-dwarf")
+ add_llvm_definitions("-gsplit-dwarf")
endif()
add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
OpenPOWER on IntegriCloud