diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-09-16 22:36:55 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-09-20 12:27:42 +0200 |
commit | d79a27195a33f4b5e591de5536799ad874ea6cf5 (patch) | |
tree | e90e9340bc57f172c81ec6a8dd096a812d47014c | |
parent | 691ef3e7fdc1fe4dded169d9404f740987f67d66 (diff) | |
download | kernel_samsung_smdk4412-d79a27195a33f4b5e591de5536799ad874ea6cf5.zip kernel_samsung_smdk4412-d79a27195a33f4b5e591de5536799ad874ea6cf5.tar.gz kernel_samsung_smdk4412-d79a27195a33f4b5e591de5536799ad874ea6cf5.tar.bz2 |
kbuild: Check if linker supports the -X option
The new alternative `gold' linker in recent binutils doesn't support
the -X option. This breaks allyesconfig builds that have
CONFIG_STRIP_ASM_SYMS enabled. Check if the linker really supports
the option using ld-option.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -640,7 +640,7 @@ LDFLAGS_MODULE += $(LDFLAGS_BUILD_ID) LDFLAGS_vmlinux += $(LDFLAGS_BUILD_ID) ifeq ($(CONFIG_STRIP_ASM_SYMS),y) -LDFLAGS_vmlinux += -X +LDFLAGS_vmlinux += $(call ld-option, -X,) endif # Default kernel image to build when no specific target is given. |