Commit:     e58d95abb7b3232333ab35a09f7f5b0cd6a19cdb
Parent:     e9f874b6f761f7f8394157d28641491c9babc1d3
Author:     Franck Bui-Huu <[EMAIL PROTECTED]>
AuthorDate: Thu Sep 27 16:26:40 2007 +0200
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Thu Oct 11 23:46:10 2007 +0100

    [MIPS] Don't abort the build process if '-msym32' isn't supported
    -msym32 and previously the strategy to tell the compiler to generate
    64-bit code but the assembler to put it into 32-bit ELF was initially
    a hack to get around the lack of proper 64-bit binutils support and
    later turned into a neat optimization with significant code size
    savings.  But it's really just an optimization so there is nothing
    wrong with just dropping the option (and whatever else goes along with
    it, I forgot all the nasty details) on the floor if due to a vintage
    compiler it can't be suported.
    Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
 arch/mips/Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index b0fac2d..ebd5d02 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -602,7 +602,9 @@ ifdef CONFIG_64BIT
   ifeq ($(KBUILD_SYM32), y)
-    cflags-y += -msym32 -DKBUILD_64BIT_SYM32
+    ifeq ($(call cc-option-yn,-msym32), y)
+      cflags-y += -msym32 -DKBUILD_64BIT_SYM32
+    endif
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

Reply via email to