diff options
author | Nick Bofferding <bofferdn@us.ibm.com> | 2012-07-28 01:01:10 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-08-03 10:16:38 -0500 |
commit | 2613472937813b6cfd52aaa5c40aa059a62a1285 (patch) | |
tree | 923cd39779e225b533baa7d0231cffe1d0cfaaec /config.mk | |
parent | e9bb8f963406b3a1e3ef89c3955a50cde4d2b5be (diff) | |
download | talos-hostboot-2613472937813b6cfd52aaa5c40aa059a62a1285.tar.gz talos-hostboot-2613472937813b6cfd52aaa5c40aa059a62a1285.zip |
Compile Hostboot without -fshort-enums
- Removed -fshort-enums from config.mk
- Fixed incorrect buffer size calculation in target.C
- Disabled short enums in targeting compiler
- Removed unnecessary assert
- Updated enum storage space
Change-Id: Ia83f942b54bc5ee246ce8d69750081714d458dcf
RTC: 35808
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1437
Tested-by: Jenkins Server
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,11 +1,11 @@ -# IBM_PROLOG_BEGIN_TAG +# IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: config.mk $ # # IBM CONFIDENTIAL # -# COPYRIGHT International Business Machines Corp. 2010 - 2011 +# COPYRIGHT International Business Machines Corp. 2010-2012 # # p1 # @@ -19,8 +19,7 @@ # # Origin: 30 # -# IBM_PROLOG_END - +# IBM_PROLOG_END_TAG all: ${MAKE} gen_pass ${MAKE} code_pass @@ -112,7 +111,7 @@ BEAMFLAGS = \ COMMONFLAGS = -O3 -nostdlib ${EXTRACOMMONFLAGS} CFLAGS = ${COMMONFLAGS} -mcpu=power7 -nostdinc -g -mno-vsx -mno-altivec\ - -Wall -Werror -fshort-enums ${CUSTOMFLAGS} + -Wall -Werror ${CUSTOMFLAGS} ASMFLAGS = ${COMMONFLAGS} -mcpu=power7 CXXFLAGS = ${CFLAGS} -nostdinc++ -fno-rtti -fno-exceptions -Wall LDFLAGS = --nostdlib --sort-common ${COMMONFLAGS} |