mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-08 17:57:06 +00:00
build: workaround for Linaro gcc-4.6 cross compilers
This commit is contained in:
3
Makefile
3
Makefile
@@ -571,6 +571,9 @@ KBUILD_CFLAGS += $(call cc-option,-fno-strict-overflow)
|
||||
# revert to pre-gcc-4.4 behaviour of .eh_frame
|
||||
KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
|
||||
|
||||
# fix a Linaro gcc-4.6 bug (on Ubuntu Precise at least) that stops old ARM kernels booting
|
||||
KBUILD_CFLAGS += $(call cc-option,-mno-unaligned-access)
|
||||
|
||||
# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
|
||||
# But warn user when we do so
|
||||
warn-assign = \
|
||||
|
||||
Reference in New Issue
Block a user