forked from luck/tmp_suning_uos_patched
034827c727
The native ABI vDSO linker script vdso.lds is built by preprocessing
vdso.lds.S, with the native -mabi flag passed in to get the correct ABI
definitions. Unfortunately however certain toolchains choke on -mabi=64
without a corresponding compatible -march flag, for example:
cc1: error: ‘-march=mips32r2’ is not compatible with the selected ABI
scripts/Makefile.build:338: recipe for target 'arch/mips/vdso/vdso.lds' failed
Fix this by including ccflags-vdso in the KBUILD_CPPFLAGS for vdso.lds,
which includes the appropriate -march flag.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
elf.S | ||
genvdso.c | ||
genvdso.h | ||
gettimeofday.c | ||
Makefile | ||
sigreturn.S | ||
vdso.h | ||
vdso.lds.S |