diff --git a/srcpkgs/freeorion/patches/fix-cflags.patch b/srcpkgs/freeorion/patches/fix-cflags.patch new file mode 100644 index 0000000000..c66d545995 --- /dev/null +++ b/srcpkgs/freeorion/patches/fix-cflags.patch @@ -0,0 +1,18 @@ +Index: CMakeLists.txt +=================================================================== +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -432,13 +432,6 @@ if(MSVC) + ) + endif() + +-target_compile_options(freeorionparseobj +- PRIVATE +- $<$:-ftemplate-depth=512> +- $<$:-ftemplate-depth=512> +- $<$>,$>:-O3> +-) +- + target_compile_definitions(freeorionparseobj + PUBLIC + -DBOOST_ALL_DYN_LINK