# HG changeset patch # User Norm Jacobs # Date 1460093746 25200 # Node ID 44986b974b1052b7769b0188d8b4fa68ed4d4385 # Parent b08ada1b6001b62f14f365ade876455b138a795b 23059402 gdb should specify the C standard to use when building diff -r b08ada1b6001 -r 44986b974b10 components/gdb/Makefile --- 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