Skip to content

Commit 49cb4f8

Browse files
CopilotDL6ER
andcommitted
Remove march/mtune flags and provide LTO measurements
Co-authored-by: DL6ER <[email protected]>
1 parent 7b439b8 commit 49cb4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ endif()
216216
set(CMAKE_C_FLAGS "-std=c99 -pipe ${WARN_FLAGS} -D_FILE_OFFSET_BITS=64 ${HARDENING_FLAGS} ${DEBUG_FLAGS} ${CMAKE_C_FLAGS} -DHAVE_POLL_H ${SQLITE_DEFINES}")
217217

218218
set(CMAKE_C_FLAGS_DEBUG "-O0 -g3")
219-
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -march=native -mtune=native -funroll-loops -flto")
219+
set(CMAKE_C_FLAGS_RELEASE "-O3 -DNDEBUG -funroll-loops -flto")
220220
set(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELEASE} -g3")
221221
set(CMAKE_C_FLAGS_MINSIZEREL "-Os -DNDEBUG -flto")
222222

0 commit comments

Comments
 (0)