summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch')
-rw-r--r--sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch b/sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch
new file mode 100644
index 000000000000..507395867fcc
--- /dev/null
+++ b/sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch
@@ -0,0 +1,11 @@
+--- a/GKlib/GKlibSystem.cmake
++++ b/GKlib/GKlibSystem.cmake
+@@ -20,7 +20,7 @@
+ elseif(MINGW)
+ set(GKlib_COPTS "-DUSE_GKREGEX")
+ else()
+- set(GKlib_COPTS "-O3")
++ set(GKlib_COPTS "")
+ set(GKlib_COPTIONS "-DLINUX -D_FILE_OFFSET_BITS=64")
+ endif(MSVC)
+ if(CYGWIN)