https://github.com/torvalds/linux
Revision ae6b289a37890909fea0e4a1666e19377fa0ed2c authored by Chris Fries on 07 November 2017, 19:46:13 UTC, committed by Masahiro Yamada on 23 November 2017, 04:12:37 UTC
Set the clang KBUILD_CFLAGS up before including arch/ Makefiles,
so that ld-options (etc.) can work correctly.

This fixes errors with clang such as ld-options trying to CC
against your host architecture, but LD trying to link against
your target architecture.

Signed-off-by: Chris Fries <cfries@google.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent bf070bb
History
Tip revision: ae6b289a37890909fea0e4a1666e19377fa0ed2c authored by Chris Fries on 07 November 2017, 19:46:13 UTC
kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
Tip revision: ae6b289
File Mode Size
Kconfig -rw-r--r-- 3.7 KB
Makefile -rw-r--r-- 720 bytes
font_10x18.c -rw-r--r-- 140.6 KB
font_6x10.c -rw-r--r-- 60.8 KB
font_6x11.c -rw-r--r-- 66.6 KB
font_7x14.c -rw-r--r-- 79.1 KB
font_8x16.c -rw-r--r-- 93.8 KB
font_8x8.c -rw-r--r-- 49.7 KB
font_acorn_8x8.c -rw-r--r-- 15.7 KB
font_mini_4x6.c -rw-r--r-- 54.6 KB
font_pearl_8x8.c -rw-r--r-- 54.5 KB
font_sun12x22.c -rw-r--r-- 181.5 KB
font_sun8x16.c -rw-r--r-- 22.1 KB
fonts.c -rw-r--r-- 3.0 KB

back to top