summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-05-01 18:39:48 -0500
committerWilliam A. Bryan <wilbryan@us.ibm.com>2019-05-02 11:20:26 -0500
commit4b9396843b2d2c950774413b74ab7eae5e5a5600 (patch)
tree541391e97b1fa77e930b3302b1af0ecc5371916a
parentafa37a7e9bc0fa22fb2271fb2e7ea2557376181e (diff)
downloadtalos-occ-4b9396843b2d2c950774413b74ab7eae5e5a5600.tar.gz
talos-occ-4b9396843b2d2c950774413b74ab7eae5e5a5600.zip
Fix build failure on GCC8
Change-Id: Ib952f5ccd721de3c581eb2c4bde112aa23db28ac Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/76845 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: Martha Broyles <mbroyles@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
-rw-r--r--src/occBootLoader/img_defs.mk6
-rw-r--r--src/occ_405/img_defs.mk6
-rw-r--r--src/occ_gpe0/img_defs.mk3
-rw-r--r--src/occ_gpe1/img_defs.mk3
4 files changed, 12 insertions, 6 deletions
diff --git a/src/occBootLoader/img_defs.mk b/src/occBootLoader/img_defs.mk
index fe8859d..9437ce0 100644
--- a/src/occBootLoader/img_defs.mk
+++ b/src/occBootLoader/img_defs.mk
@@ -5,8 +5,9 @@
#
# OpenPOWER OnChipController Project
#
-# Contributors Listed Below - COPYRIGHT 2015,2017
+# Contributors Listed Below - COPYRIGHT 2015,2019
# [+] International Business Machines Corp.
+# [+] Timothy Pearson
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -226,7 +227,8 @@ 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 -std=gnu89
+ -fno-inline-functions-called-once \
+ -fno-asynchronous-unwind-tables -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 c68c91c..0a67439 100644
--- a/src/occ_405/img_defs.mk
+++ b/src/occ_405/img_defs.mk
@@ -5,8 +5,9 @@
#
# OpenPOWER OnChipController Project
#
-# Contributors Listed Below - COPYRIGHT 2015,2017
+# Contributors Listed Below - COPYRIGHT 2015,2019
# [+] International Business Machines Corp.
+# [+] Timothy Pearson
#
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -253,7 +254,8 @@ 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 -std=gnu89
+ -fno-inline-functions-called-once \
+ -fno-asynchronous-unwind-tables -std=gnu89
CFLAGS = -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
diff --git a/src/occ_gpe0/img_defs.mk b/src/occ_gpe0/img_defs.mk
index 15ff9ac..37bbe5b 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,2018
+# Contributors Listed Below - COPYRIGHT 2015,2019
# [+] International Business Machines Corp.
#
#
@@ -209,6 +209,7 @@ GCC-CFLAGS += -msdata=eabi
GCC-CFLAGS += -ffreestanding
GCC-CFLAGS += -fno-common
GCC-CFLAGS += -fno-inline-functions-called-once
+GCC-CFLAGS += -fno-asynchronous-unwind-tables
CFLAGS = -c -std=gnu89 $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
diff --git a/src/occ_gpe1/img_defs.mk b/src/occ_gpe1/img_defs.mk
index b705145..03d92f8 100644
--- a/src/occ_gpe1/img_defs.mk
+++ b/src/occ_gpe1/img_defs.mk
@@ -5,7 +5,7 @@
#
# OpenPOWER OnChipController Project
#
-# Contributors Listed Below - COPYRIGHT 2015,2018
+# Contributors Listed Below - COPYRIGHT 2015,2019
# [+] International Business Machines Corp.
#
#
@@ -216,6 +216,7 @@ GCC-CFLAGS += -meabi
GCC-CFLAGS += -ffreestanding
GCC-CFLAGS += -fno-common
GCC-CFLAGS += -fno-inline-functions-called-once
+GCC-CFLAGS += -fno-asynchronous-unwind-tables
GCC-CFLAGS += -std=gnu89
CFLAGS = -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
OpenPOWER on IntegriCloud