From b9db9cd6a9f8210a765ac34078e1ca5132439e53 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 30 Jul 2013 22:34:30 +0000 Subject: [PATCH] Make sure that -gsplit-dwarf isn't passed to the linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187456 91177308-0d34-0410-b5e6-96231b3b80d8 --- cmake/modules/HandleLLVMOptions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index 88a4730f659..58ffb8db515 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/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 ) -- 2.34.1