ports/math/cglm/patches/patch-CMakeLists_txt

14 lines
350 B
Text

- drop hardcoded -O3
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -43,7 +43,7 @@ if(MSVC)
string(REGEX REPLACE "/RTC(su|[1su])" "" ${flag_var} "${${flag_var}}")
endforeach(flag_var)
else()
- add_compile_options(-Wall -O3)
+ add_compile_options(-Wall)
endif()
get_directory_property(hasParent PARENT_DIRECTORY)