diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-06-24 14:43:17 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-06-24 14:43:17 +0000 |
commit | 43c970f56a1dbba72543e9e1cd007726ad31c626 (patch) | |
tree | 92998a446eedf3b9e95e7d5b80520398191cfb93 | |
parent | c9f705b12195b7c1ff9814f76c78c76d4b8498b1 (diff) |
__i386__ and __powerpc__ are set by the compiler already.
Not need to set them in lpgcc.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5646 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rwxr-xr-x | payloads/libpayload/bin/lpgcc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc index 5bc76803a5..b77146fee3 100755 --- a/payloads/libpayload/bin/lpgcc +++ b/payloads/libpayload/bin/lpgcc @@ -103,16 +103,14 @@ done if [ "$CONFIG_TARGET_I386" = "y" ]; then _ARCHINCDIR=$_INCDIR/i386 _ARCHLIBDIR=$_LIBDIR/i386 - _TARGETCFLAGS="-D__i386__=1" fi if [ "$CONFIG_TARGET_POWERPC" = "y" ]; then _ARCHINCDIR=$_INCDIR/powerpc _ARCHLIBDIR=$_LIBDIR/powerpc - _TARGETCFLAGS="-D__powerpc__=1" fi -_CFLAGS="-m32 -nostdinc -nostdlib -I$_INCDIR -I$_ARCHINCDIR -D__LIBPAYLOAD__=1 $_TARGETCFLAGS" +_CFLAGS="-m32 -nostdinc -nostdlib -I$_INCDIR -I$_ARCHINCDIR -D__LIBPAYLOAD__=1" # Check for the -fno-stack-protector silliness |