23059370 gcc48 should specify the C standard to use when building
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Thu, 07 Apr 2016 23:00:22 -0700
changeset 5783 f6513c88489e
parent 5782 9d1e3af515de
child 5784 b08ada1b6001
23059370 gcc48 should specify the C standard to use when building
components/gcc48/Makefile
--- a/components/gcc48/Makefile	Sun Apr 03 20:54:59 2016 -0700
+++ b/components/gcc48/Makefile	Thu Apr 07 23:00:22 2016 -0700
@@ -57,6 +57,9 @@
 CC += $(CC_BITS)
 CXX += $(CC_BITS)
 
+# Specify the C Standard to use when building
+CC += -std=gnu89
+
 CFLAGS.i386 = -mtune=opteron -march=opteron
 CFLAGS.sparc = -mtune=ultrasparc -mcpu=ultrasparc -mno-unaligned-doubles
 CFLAGS = -g -O2