summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Herlant <aerostitch@debian.org>2020-01-20 10:55:00 -0800
committerJoseph Herlant <aerostitch@debian.org>2020-01-20 10:55:00 -0800
commit37f055a6d13ac705998dcc5fe85f0920e8756e44 (patch)
treebd2a8c8db5c9ce76f1c41553c19284757d17daf2
parent32f5a7886d4ba4b02d312be8bd55a84d74f9aeca (diff)
downloadnavit-37f055a6d13ac705998dcc5fe85f0920e8756e44.tar.gz
Leaving the optimization level up to the preference of the person building
-rwxr-xr-xCMakeLists.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9c3955a2..f3f808b8f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -841,7 +841,6 @@ add_compiler_flag_if_available("-Wformat-security")
add_compiler_flag_if_available("-Werror=format-security")
add_compiler_flag_if_available("-fstack-protector-strong")
add_compiler_flag_if_available("-D_FORTIFY_SOURCE=2")
-add_compiler_flag_if_available("-O2")
if (EXTRA_DEFINES)
add_definitions("${EXTRA_DEFINES}")