mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Do not add -gsplit-dwarf to LLVM_DEFINITIONS.
This would cause the flag to appear in the output of "llvm-config --cppflags", which should contain only preprocessor flags. The -gsplit-dwarf flag in particular can cause problems with certain downstream users such as cgo. Differential Revision: http://reviews.llvm.org/D5895 llvm-svn: 220410
This commit is contained in:
parent
7eb4c6d7ca
commit
373678636f
@ -393,7 +393,7 @@ endif()
|
||||
|
||||
# Turn on -gsplit-dwarf if requested
|
||||
if(LLVM_USE_SPLIT_DWARF)
|
||||
add_llvm_definitions("-gsplit-dwarf")
|
||||
add_definitions("-gsplit-dwarf")
|
||||
endif()
|
||||
|
||||
add_llvm_definitions( -D__STDC_CONSTANT_MACROS )
|
||||
|
Loading…
Reference in New Issue
Block a user