Print this page
Some packages need to specify -std=gnu89 to compile, and gcc51 defaults to
gnu11 now.
Also, updated mozilla-nss-nspr to 3.19 and 4.10.8, respectively.

@@ -37,10 +37,13 @@
 BUILD_DEPENDS_IPS="gcc44"
 [[ "$BUILDARCH" == "both" ]] && BUILDARCH=32
 
 CONFIGURE_OPTS="--enable-gold=yes --exec-prefix=/usr/gnu --program-prefix=g"
 
+# Use old gcc4 standards level for this.
+CFLAGS="$CFLAGS -std=gnu89"
+
 make_prog() {
     [[ -n $NO_PARALLEL_MAKE ]] && MAKE_JOBS=""
     logmsg "--- make"
     logcmd $MAKE SHELL=/bin/bash $MAKE_JOBS || \
         logerr "--- Make failed"