diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2014-07-21 17:30:32 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2014-07-22 13:55:09 -0500 |
commit | 4f25725547a88037201b86487a1415f4dcdce13e (patch) | |
tree | 5d78d9d6ee0b71d4d9072d96ed5338015fe9479b /src/build | |
parent | 31f7e21f95512b117b8af33ce11def0dbf2505cc (diff) | |
download | talos-hostboot-4f25725547a88037201b86487a1415f4dcdce13e.tar.gz talos-hostboot-4f25725547a88037201b86487a1415f4dcdce13e.zip |
Add -ffreestanding for GCC 4.8 compile.
Change-Id: I4a33f476c79d6816e65875dd3a37883f5a72786f
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12368
Tested-by: Jenkins Server
Reviewed-by: Brian Silver <bsilver@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rw-r--r-- | src/build/mkrules/cflags.env.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build/mkrules/cflags.env.mk b/src/build/mkrules/cflags.env.mk index a9589aa60..8b0bd8909 100644 --- a/src/build/mkrules/cflags.env.mk +++ b/src/build/mkrules/cflags.env.mk @@ -37,7 +37,7 @@ endif COMMONFLAGS += $(OPT_LEVEL) -nostdlib CFLAGS += $(COMMONFLAGS) -mcpu=power7 -nostdinc -g -mno-vsx -mno-altivec\ -Wall -Werror -mtraceback=no -pipe \ - -ffunction-sections -fdata-sections + -ffunction-sections -fdata-sections -ffreestanding ASMFLAGS += $(COMMONFLAGS) -mcpu=power7 CXXFLAGS += $(CFLAGS) -nostdinc++ -fno-rtti -fno-exceptions -Wall \ -fuse-cxa-atexit |