From 2613472937813b6cfd52aaa5c40aa059a62a1285 Mon Sep 17 00:00:00 2001 From: Nick Bofferding Date: Sat, 28 Jul 2012 01:01:10 -0500 Subject: 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 Reviewed-by: Andrew J. Geissler Reviewed-by: A. Patrick Williams III --- config.mk | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 878618f84..1af9c74a6 100644 --- a/config.mk +++ b/config.mk @@ -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} -- cgit v1.2.1