mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-08 00:09:31 +03:00
remove O3 flag
This commit is contained in:
parent
4a456ba054
commit
6efd78c5e0
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ endif()
|
||||||
|
|
||||||
# Compiler flags
|
# Compiler flags
|
||||||
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU")
|
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU")
|
||||||
list(APPEND mi_cflags -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden $<$<CONFIG:RELEASE>:-O3>)
|
list(APPEND mi_cflags -Wall -Wextra -Wno-unknown-pragmas -fvisibility=hidden)
|
||||||
if(NOT MI_USE_CXX)
|
if(NOT MI_USE_CXX)
|
||||||
list(APPEND mi_cflags -Wstrict-prototypes)
|
list(APPEND mi_cflags -Wstrict-prototypes)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Reference in a new issue