summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2011-06-17 10:53:27 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-06-17 12:17:36 -0500
commitf64ba52098e248e62b4ddb14c0a027c21066e9e2 (patch)
tree6cb61764df8afeaefff503aec4d2c7381ccfaf5f /config.mk
parent49c2bc29d68d941fdc24fef2eaf1b6d86d461051 (diff)
downloadtalos-hostboot-f64ba52098e248e62b4ddb14c0a027c21066e9e2.tar.gz
talos-hostboot-f64ba52098e248e62b4ddb14c0a027c21066e9e2.zip
Compile all code with -fshort-enums option to compact space required for enums
Change-Id: I8474b2971e94f8b9de775c07d5a851dbab75b76e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/148 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 264e1b466..0a96d472b 100644
--- a/config.mk
+++ b/config.mk
@@ -39,7 +39,7 @@ BEAMFLAGS = \
COMMONFLAGS = -O3 -nostdlib ${EXTRACOMMONFLAGS}
CFLAGS = ${COMMONFLAGS} -mcpu=power7 -nostdinc -g -msoft-float -mno-altivec \
- -Wall -Werror ${CUSTOMFLAGS}
+ -Wall -Werror -fshort-enums ${CUSTOMFLAGS}
ASMFLAGS = ${COMMONFLAGS} -mcpu=power7
CXXFLAGS = ${CFLAGS} -nostdinc++ -fno-rtti -fno-exceptions -Wall
LDFLAGS = --nostdlib --sort-common ${COMMONFLAGS}
OpenPOWER on IntegriCloud