diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-03-31 00:53:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-03-31 00:53:57 -0400 |
commit | b5dbc28762fd3fd40ba76303be0c7f707826f982 (patch) | |
tree | 8f6280bdce7dd17193eb122aa624dbd69266a13c /Makefile | |
parent | a44406ec3d31de773ce50e794900546f22c1cc7b (diff) | |
parent | 28913ee8191adf4bbc01cbfb9ee18cca782ab141 (diff) |
Merge tag 'kbuild-fixes-v4.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kbuild fixes from Masahiro Yamada:
- fix missed rebuild of TRIM_UNUSED_KSYMS
- fix rpm-pkg for GNU tar >= 1.29
- include scripts/dtc/include-prefixes/* to kernel header deb-pkg
- add -no-integrated-as option ealier to fix building with Clang
- fix netfilter Makefile for parallel building
* tag 'kbuild-fixes-v4.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
netfilter: nf_nat_snmp_basic: add correct dependency to Makefile
kbuild: rpm-pkg: Support GNU tar >= 1.29
builddeb: Fix header package regarding dtc source links
kbuild: set no-integrated-as before incl. arch Makefile
kbuild: make scripts/adjust_autoksyms.sh robust against timestamp races
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -487,6 +487,8 @@ CLANG_GCC_TC := --gcc-toolchain=$(GCC_TOOLCHAIN) | |||
487 | endif | 487 | endif |
488 | KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) | 488 | KBUILD_CFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) |
489 | KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) | 489 | KBUILD_AFLAGS += $(CLANG_TARGET) $(CLANG_GCC_TC) |
490 | KBUILD_CFLAGS += $(call cc-option, -no-integrated-as) | ||
491 | KBUILD_AFLAGS += $(call cc-option, -no-integrated-as) | ||
490 | endif | 492 | endif |
491 | 493 | ||
492 | RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register | 494 | RETPOLINE_CFLAGS_GCC := -mindirect-branch=thunk-extern -mindirect-branch-register |
@@ -743,8 +745,6 @@ KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare) | |||
743 | # See modpost pattern 2 | 745 | # See modpost pattern 2 |
744 | KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,) | 746 | KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,) |
745 | KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior) | 747 | KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior) |
746 | KBUILD_CFLAGS += $(call cc-option, -no-integrated-as) | ||
747 | KBUILD_AFLAGS += $(call cc-option, -no-integrated-as) | ||
748 | else | 748 | else |
749 | 749 | ||
750 | # These warnings generated too much noise in a regular build. | 750 | # These warnings generated too much noise in a regular build. |