Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b2444d34a0e727a80fee4b725bc5ecb9d0f206f0
Commit:     b2444d34a0e727a80fee4b725bc5ecb9d0f206f0
Parent:     cef9287ead2775e4d7eaa280a73ee99d7269c3e4
Author:     Chris Zankel <[EMAIL PROTECTED]>
AuthorDate: Sat Aug 4 09:23:54 2007 -0700
Committer:  Chris Zankel <[EMAIL PROTECTED]>
CommitDate: Mon Aug 27 13:53:07 2007 -0700

    [XTENSA] Add freestanding option to CFLAGS
    
    We also need to set the freestanding option for GCC in the CFLAGS.
    
    Signed-off-by: Chris Zankel <[EMAIL PROTECTED]>
---
 arch/xtensa/Makefile |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile
index 95f836d..acf05be 100644
--- a/arch/xtensa/Makefile
+++ b/arch/xtensa/Makefile
@@ -27,7 +27,12 @@ platform-$(CONFIG_XTENSA_PLATFORM_ISS)               := iss
 PLATFORM = $(platform-y)
 export PLATFORM
 
-CFLAGS         += -pipe -mlongcalls
+# temporarily until string.h is fixed
+cflags-y += -ffreestanding
+
+cflags-y += -pipe -mlongcalls
+
+CFLAGS  += $(cflags-y)
 
 KBUILD_DEFCONFIG := iss_defconfig
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to