Revert "Fix Debug Build Using GCC 15" (#154877)
Reverts llvm/llvm-project#152223
This commit is contained in:
parent
f1f194bf10
commit
d26ea02060
@ -183,10 +183,6 @@ endif ()
|
||||
|
||||
|
||||
if (NOT WIN32)
|
||||
add_definitions(-U_GLIBCXX_ASSERTIONS -D_GLIBCXX_NO_ASSERTIONS)
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-fno-exceptions>)
|
||||
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-O2>)
|
||||
|
||||
add_flangrt_library(flang_rt.runtime STATIC SHARED
|
||||
${sources}
|
||||
LINK_LIBRARIES ${Backtrace_LIBRARY}
|
||||
|
@ -50,7 +50,6 @@ add_flang_library(FIRBuilder
|
||||
FIRDialectSupport
|
||||
FIRSupport
|
||||
FortranEvaluate
|
||||
FortranSupport
|
||||
HLFIRDialect
|
||||
|
||||
MLIR_DEPS
|
||||
|
@ -27,8 +27,6 @@ add_flang_library(HLFIRTransforms
|
||||
FIRSupport
|
||||
FIRTransforms
|
||||
FlangOpenMPTransforms
|
||||
FortranEvaluate
|
||||
FortranSupport
|
||||
HLFIRDialect
|
||||
|
||||
LINK_COMPONENTS
|
||||
|
@ -168,7 +168,7 @@ endif()
|
||||
# Disable libstdc++ assertions, even in an LLVM_ENABLE_ASSERTIONS build, to
|
||||
# avoid an unwanted dependency on libstdc++.so.
|
||||
if(NOT WIN32)
|
||||
add_definitions(-U_GLIBCXX_ASSERTIONS -D_GLIBCXX_NO_ASSERTIONS)
|
||||
add_definitions(-U_GLIBCXX_ASSERTIONS)
|
||||
endif()
|
||||
|
||||
# Add the OpenMP library
|
||||
|
Loading…
x
Reference in New Issue
Block a user