diff options
| author | Chris Fries <[email protected]> | 2017-11-07 19:46:13 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2017-11-23 04:12:37 +0000 |
| commit | ae6b289a37890909fea0e4a1666e19377fa0ed2c (patch) | |
| tree | 1fa1e2f8859c6b66bf6c928f83198e922d2db86f /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | kbuild: remove all dummy assignments to obj- (diff) | |
| download | kernel-ae6b289a37890909fea0e4a1666e19377fa0ed2c.tar.gz kernel-ae6b289a37890909fea0e4a1666e19377fa0ed2c.zip | |
kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
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 <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Tested-by: Matthias Kaehlcke <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
