void-packages/srcpkgs/cglm/patches/fix-cflags.patch

14 lines
462 B
Diff
Raw Normal View History

2021-03-26 03:01:12 +01:00
Index: cglm-0.7.6/CMakeLists.txt
===================================================================
--- cglm-0.7.6.orig/CMakeLists.txt
+++ cglm-0.7.6/CMakeLists.txt
@@ -25,7 +25,7 @@ if(MSVC)
add_definitions(-DNDEBUG -D_WINDOWS -D_USRDLL -DCGLM_EXPORTS -DCGLM_DLL)
add_compile_options(/W3 /Ox /Gy /Oi /TC)
else()
- add_compile_options(-Wall -Werror -O3)
+ add_compile_options(-Wall)
endif()
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)