Created
July 10, 2019 03:51
-
-
Save retrage/abcc4c79156b968a870e31249b6a0516 to your computer and use it in GitHub Desktop.
Workaround for solo5 rumprun build with gcc >= 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build-rr.sh b/build-rr.sh | |
index 2a8e4e1..ecd0646 100755 | |
--- a/build-rr.sh | |
+++ b/build-rr.sh | |
@@ -389,6 +389,14 @@ buildrump () | |
# | |
[ `${CC} -dumpversion | cut -f1 -d.` -ge 7 ] \ | |
&& extracflags="$extracflags -F CPPFLAGS=-Wimplicit-fallthrough=0" | |
+ [ `${CC} -dumpversion | cut -f1 -d.` -ge 7 ] \ | |
+ && extracflags="$extracflags -F CPPFLAGS=-Wno-maybe-uninitialized" | |
+ [ `${CC} -dumpversion | cut -f1 -d.` -ge 7 ] \ | |
+ && extracflags="$extracflags -F CPPFLAGS=-Wno-cast-function-type" | |
+ [ `${CC} -dumpversion | cut -f1 -d.` -ge 7 ] \ | |
+ && extracflags="$extracflags -F CPPFLAGS=-Wno-tautological-compare" | |
+ [ `${CC} -dumpversion | cut -f1 -d.` -ge 7 ] \ | |
+ && extracflags="$extracflags -F CPPFLAGS=-Wno-attributes" | |
extracflags="${extracflags} ${TLSCFLAGS} ${FREQ_SETUP}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment