Skip to content

Commit 18ca63a

Browse files
FlyGoattsbogend
authored andcommitted
MIPS: Probe toolchain support of -msym32
msym32 is not supported by LLVM toolchain. Workaround by probe toolchain support of msym32 for KBUILD_SYM32 feature. Link: ClangBuiltLinux#1544 Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 3c35da5 commit 18ca63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ drivers-$(CONFIG_PCI) += arch/mips/pci/
299299
ifdef CONFIG_64BIT
300300
ifndef KBUILD_SYM32
301301
ifeq ($(shell expr $(load-y) \< 0xffffffff80000000), 0)
302-
KBUILD_SYM32 = y
302+
KBUILD_SYM32 = $(call cc-option-yn, -msym32)
303303
endif
304304
endif
305305

0 commit comments

Comments
 (0)