components/gdb/Makefile
changeset 5785 44986b974b10
parent 5682 94c0ca64c022
child 6420 65948e9e205b
--- a/components/gdb/Makefile	Fri Apr 08 14:19:15 2016 -0700
+++ b/components/gdb/Makefile	Thu Apr 07 22:35:46 2016 -0700
@@ -45,6 +45,9 @@
 # GDB wants the GNU utilities
 PATH=/usr/gnu/bin:$(GCC_ROOT)/bin:/usr/bin:/usr/perl5/bin
 
+# Specify the C Standard to use when building
+CC += -std=gnu89
+
 CFLAGS_sparc =	-g -O2 -mcpu=ultrasparc -mtune=ultrasparc
 CFLAGS_sparc +=	-mno-unaligned-doubles
 CFLAGS_sparc += -mapp-regs -mhard-float