]> granicus.if.org Git - libexpat/commitdiff
qa.sh: Stay closer to c89 (still requires c99)
authorSebastian Pipping <sebastian@pipping.org>
Wed, 23 Aug 2017 14:03:19 +0000 (16:03 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 23 Aug 2017 15:38:38 +0000 (17:38 +0200)
expat/qa.sh

index 682c6ed8006f288b889f1719b79942d99e0d191a..ae27646866135288b1b7443525b16d319cf82a6c 100755 (executable)
@@ -15,7 +15,7 @@ set -o nounset
 : ${LD:=ld}
 : ${MAKE:=make}
 
-: ${BASE_COMPILE_FLAGS:="-pipe -Wall -Wextra -pedantic -Wno-overlength-strings"}
+: ${BASE_COMPILE_FLAGS:="-pipe -Wall -Wextra -pedantic -Wno-overlength-strings -Wno-long-long"}
 
 ANNOUNCE() {
     local open='\e[1m'
@@ -76,7 +76,7 @@ main() {
         ;;
     esac
 
-    local CFLAGS="-std=c99 ${BASE_COMPILE_FLAGS} ${CFLAGS:-}"
+    local CFLAGS="-std=c89 ${BASE_COMPILE_FLAGS} ${CFLAGS:-}"
     local CXXFLAGS="-std=c++98 ${BASE_COMPILE_FLAGS} ${CXXFLAGS:-}"
 
     (