diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-07-03 00:58:04 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-07-03 01:47:06 -0500 |
commit | 38a5b53f55fbccced9b6f4bc0134dcbfe5fe39d0 (patch) | |
tree | 9762f40846b6b1a45661d37c86fe1d0913c40e35 /src/usr/errl/parser | |
parent | ce5d000adc777eab31a578cf33dcaf97aa108517 (diff) | |
download | talos-hostboot-38a5b53f55fbccced9b6f4bc0134dcbfe5fe39d0.tar.gz talos-hostboot-38a5b53f55fbccced9b6f4bc0134dcbfe5fe39d0.zip |
Fix compile for endian calls on old host GCC
Change-Id: I27e18a424ba4bad7dbd33cd17a5c23c65269f51a
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11958
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/errl/parser')
-rw-r--r-- | src/usr/errl/parser/makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/usr/errl/parser/makefile b/src/usr/errl/parser/makefile index d7d8ece74..e008e6974 100644 --- a/src/usr/errl/parser/makefile +++ b/src/usr/errl/parser/makefile @@ -5,7 +5,9 @@ # # OpenPOWER HostBoot Project # -# COPYRIGHT International Business Machines Corp. 2011,2014 +# Contributors Listed Below - COPYRIGHT 2011,2014 +# [+] International Business Machines Corp. +# # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -43,7 +45,11 @@ ERRLPARSE_TARGETS = \ ${GENDIR}/plugins/hbfwUdIds.H \ ${GENDIR}/plugins/makefile -CC=$(HOST_PREFIX)g++ -m32 -static +ifndef OPENPOWER_BUILD + ERRL_LINK_STATIC = -static +endif + +CC=$(HOST_PREFIX)g++ -m32 $(ERRL_LINK_STATIC) CFLAGS:=-g -O0 -I $(ROOTPATH)/src/include/usr -I ${GENDIR} all: GEN_PASS CODE_PASS |