summaryrefslogtreecommitdiffstats
path: root/src/occ_gpe0
diff options
context:
space:
mode:
authorWilliam Bryan <wilbryan@us.ibm.com>2017-06-30 08:46:33 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2017-06-30 10:36:54 -0400
commit6a00709c2078f7c788d1c9051adb35f34e004a90 (patch)
tree770f07f21623fba39adaea802dc1a4d1c5eec8a0 /src/occ_gpe0
parent7adb49aeec6971ff0f3656a73829a793907f5567 (diff)
downloadtalos-occ-6a00709c2078f7c788d1c9051adb35f34e004a90.tar.gz
talos-occ-6a00709c2078f7c788d1c9051adb35f34e004a90.zip
Use std=gnu89, the gcc 4.8 default
RTC:176497 Change-Id: Ibac4a602dd0436143a901edaeb13b6a313c5fbba Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42653 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: Andres A. Lugo-Reyes <aalugore@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Diffstat (limited to 'src/occ_gpe0')
-rw-r--r--src/occ_gpe0/img_defs.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/occ_gpe0/img_defs.mk b/src/occ_gpe0/img_defs.mk
index 0a31507..f722193 100644
--- a/src/occ_gpe0/img_defs.mk
+++ b/src/occ_gpe0/img_defs.mk
@@ -5,7 +5,7 @@
#
# OpenPOWER OnChipController Project
#
-# Contributors Listed Below - COPYRIGHT 2015,2016
+# Contributors Listed Below - COPYRIGHT 2015,2017
# [+] International Business Machines Corp.
#
#
@@ -222,7 +222,8 @@ GCC-CFLAGS += -Wall -fsigned-char -msoft-float \
-ffixed-r22 -ffixed-r23 -ffixed-r24 -ffixed-r25 \
-ffixed-r26 -ffixed-r27 \
-ffixed-cr1 -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 \
- -ffixed-cr5 -ffixed-cr6 -ffixed-cr7 -Werror
+ -ffixed-cr5 -ffixed-cr6 -ffixed-cr7 -Werror \
+ -std=gnu89
else
PIPE-CFLAGS = -pipe
@@ -238,6 +239,7 @@ GCC-CFLAGS += -meabi
GCC-CFLAGS += -ffreestanding
GCC-CFLAGS += -fno-common
GCC-CFLAGS += -fno-inline-functions-called-once
+GCC-CFLAGS += -std=gnu89
endif
CFLAGS = -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
OpenPOWER on IntegriCloud