blob: 2f59d83c774447348c0ca72237e03f0d4b8bd130 [file] [log] [blame]
From 52c55ef2370b22d0f9b78e5d975b3c8b2b915d34 Mon Sep 17 00:00:00 2001
From: Stewart Smith <stewart@linux.vnet.ibm.com>
Date: Thu, 2 Mar 2017 17:13:22 +1100
Subject: [PATCH] Use gnu89 as C std
Change-Id: I1953f9762f6e3c0f1b8005977de69802f0e11934
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
---
src/occBootLoader/img_defs.mk | 2 +-
src/occ_405/img_defs.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/occBootLoader/img_defs.mk b/src/occBootLoader/img_defs.mk
index a53d9db115b3..907c3d5ad353 100644
--- a/src/occBootLoader/img_defs.mk
+++ b/src/occBootLoader/img_defs.mk
@@ -226,7 +226,7 @@ PIPE-CFLAGS = -pipe -Wa,-m405
GCC-CFLAGS += -g -Wall -fsigned-char -msoft-float \
-m32 -mbig-endian -mcpu=405 -mmultiple -mstring \
-meabi -msdata=eabi -ffreestanding -fno-common \
- -fno-inline-functions-called-once
+ -fno-inline-functions-called-once -std=gnu89
CFLAGS = -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
diff --git a/src/occ_405/img_defs.mk b/src/occ_405/img_defs.mk
index abdef45963e0..9e0f1b91596a 100644
--- a/src/occ_405/img_defs.mk
+++ b/src/occ_405/img_defs.mk
@@ -252,7 +252,7 @@ PIPE-CFLAGS = -pipe -Wa,-m405
GCC-CFLAGS += -g -Wall -fsigned-char -msoft-float \
-m32 -mbig-endian -mcpu=405 -mmultiple -mstring \
-meabi -msdata=eabi -ffreestanding -fno-common \
- -fno-inline-functions-called-once
+ -fno-inline-functions-called-once -std=gnu89
CFLAGS = -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
--
2.9.3