forked from pool/mstflint
- Add mstflint-gcc7.patch for GCC7 support OBS-URL: https://build.opensuse.org/request/show/499769 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mstflint?expand=0&rev=11
13 lines
356 B
Diff
13 lines
356 B
Diff
diff --git configure.ac configure.ac
|
|
index f988818..8384528 100644
|
|
--- configure.ac
|
|
+++ configure.ac
|
|
@@ -98,6 +98,7 @@ AS_IF([test "x$enable_dynamic_ld" = "xyes"], [
|
|
LDFLAGS="$LDFLAGS -Wl,--dynamic-linker=/lib64/ld64.so.2"
|
|
])
|
|
|
|
+CPPFLAGS="$CPPFLAGS -Wno-implicit-fallthrough"
|
|
CFLAGS="$CFLAGS -Werror -DMST_UL"
|
|
CXXFLAGS="$CXXFLAGS -Werror -DMST_UL"
|
|
|