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)
|
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
|
add_flangrt_library(flang_rt.runtime STATIC SHARED
|
||||||
${sources}
|
${sources}
|
||||||
LINK_LIBRARIES ${Backtrace_LIBRARY}
|
LINK_LIBRARIES ${Backtrace_LIBRARY}
|
||||||
|
@ -50,7 +50,6 @@ add_flang_library(FIRBuilder
|
|||||||
FIRDialectSupport
|
FIRDialectSupport
|
||||||
FIRSupport
|
FIRSupport
|
||||||
FortranEvaluate
|
FortranEvaluate
|
||||||
FortranSupport
|
|
||||||
HLFIRDialect
|
HLFIRDialect
|
||||||
|
|
||||||
MLIR_DEPS
|
MLIR_DEPS
|
||||||
|
@ -27,8 +27,6 @@ add_flang_library(HLFIRTransforms
|
|||||||
FIRSupport
|
FIRSupport
|
||||||
FIRTransforms
|
FIRTransforms
|
||||||
FlangOpenMPTransforms
|
FlangOpenMPTransforms
|
||||||
FortranEvaluate
|
|
||||||
FortranSupport
|
|
||||||
HLFIRDialect
|
HLFIRDialect
|
||||||
|
|
||||||
LINK_COMPONENTS
|
LINK_COMPONENTS
|
||||||
|
@ -168,7 +168,7 @@ endif()
|
|||||||
# Disable libstdc++ assertions, even in an LLVM_ENABLE_ASSERTIONS build, to
|
# Disable libstdc++ assertions, even in an LLVM_ENABLE_ASSERTIONS build, to
|
||||||
# avoid an unwanted dependency on libstdc++.so.
|
# avoid an unwanted dependency on libstdc++.so.
|
||||||
if(NOT WIN32)
|
if(NOT WIN32)
|
||||||
add_definitions(-U_GLIBCXX_ASSERTIONS -D_GLIBCXX_NO_ASSERTIONS)
|
add_definitions(-U_GLIBCXX_ASSERTIONS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Add the OpenMP library
|
# Add the OpenMP library
|
||||||
|
Loading…
x
Reference in New Issue
Block a user