mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-03 16:03:21 +00:00
Don't strip -m32 from the user provide command line flags. This fixes the compiler-rt 32 bit sanitizer build
llvm-svn: 292291
This commit is contained in:
parent
485db58b84
commit
6dede18cb1
@ -395,7 +395,7 @@ include(HandleLibCXXABI) # Setup the ABI library flags
|
||||
if (NOT LIBCXX_STANDALONE_BUILD)
|
||||
# Remove flags that may have snuck in.
|
||||
remove_flags(-DNDEBUG -UNDEBUG -D_DEBUG
|
||||
-lc++abi -m32)
|
||||
-lc++abi)
|
||||
endif()
|
||||
remove_flags(-stdlib=libc++ -stdlib=libstdc++)
|
||||
|
||||
@ -404,7 +404,7 @@ remove_flags(-stdlib=libc++ -stdlib=libstdc++)
|
||||
# non-debug DLLs
|
||||
remove_flags("/D_DEBUG" "/MTd" "/MDd" "/MT" "/Md")
|
||||
|
||||
# FIXME(EricWF): See the FIXME on LIBCXX_ENABLE_PEDANTIC.
|
||||
# FIXME(EricWF): See the FIXME on LIBCXX_ENABLE_PEqDANTIC.
|
||||
# Remove the -pedantic flag and -Wno-pedantic and -pedantic-errors
|
||||
# so they don't get transformed into -Wno and -errors respectivly.
|
||||
remove_flags(-Wno-pedantic -pedantic-errors -pedantic)
|
||||
|
Loading…
x
Reference in New Issue
Block a user