23059355 gcc3 should specify the C standard to use when building
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Sun, 03 Apr 2016 20:54:59 -0700
changeset 5782 9d1e3af515de
parent 5781 ecbdf40c0a37
child 5783 f6513c88489e
23059355 gcc3 should specify the C standard to use when building
components/gcc3/Makefile
components/gcc3/gcc-3.p5m
--- a/components/gcc3/Makefile	Thu Apr 14 12:48:37 2016 -0700
+++ b/components/gcc3/Makefile	Sun Apr 03 20:54:59 2016 -0700
@@ -56,6 +56,8 @@
 # enabling this causes libstdc++ to break
 LD_B_DIRECT=
 
+CFLAGS += -std=gnu89
+
 CONFIGURE_PREFIX =	/usr/gcc/3.4
 CONFIGURE_INFODIR =	$(CONFIGURE_PREFIX)/share/info
 
--- a/components/gcc3/gcc-3.p5m	Thu Apr 14 12:48:37 2016 -0700
+++ b/components/gcc3/gcc-3.p5m	Sun Apr 03 20:54:59 2016 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
 #
 
 <transform file path=usr/.*/man/.* -> default mangler.man.stability volatile >
@@ -105,8 +105,6 @@
 file path=usr/gcc/3.4/include/c++/3.4.3/$(GNU_ARCH)/bits/gthr.h
 file path=usr/gcc/3.4/include/c++/3.4.3/$(GNU_ARCH)/bits/messages_members.h
 file path=usr/gcc/3.4/include/c++/3.4.3/$(GNU_ARCH)/bits/os_defines.h
-file path=usr/gcc/3.4/include/c++/3.4.3/$(GNU_ARCH)/bits/stdc++.h.gch/O0g
-file path=usr/gcc/3.4/include/c++/3.4.3/$(GNU_ARCH)/bits/stdc++.h.gch/O2g
 file path=usr/gcc/3.4/include/c++/3.4.3/$(GNU_ARCH)/bits/time_members.h
 file path=usr/gcc/3.4/include/c++/3.4.3/algorithm
 file path=usr/gcc/3.4/include/c++/3.4.3/backward/algo.h