Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1507281
| From | "Jan Beulich" <JBeulich@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] x86: fix build with older gcc |
| Date | 2016-10-24 17:10 +0200 |
| Message-ID | <svP2W-Pj-17@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Older gcc (observed with 4.1.x) doesn't support -Wno-override-init and also doesn't ignore unknown -Wno-* options. Fixes: 5e44258d16 "x86/build: Reduce the W=1 warnings noise when compiling x86 syscall tables" Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Valdis Kletnieks <valdis.kletnieks@vt.edu> --- arch/x86/entry/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- 4.9-rc2/arch/x86/entry/Makefile +++ 4.9-rc2-x86-entry-build/arch/x86/entry/Makefile @@ -5,8 +5,8 @@ OBJECT_FILES_NON_STANDARD_entry_$(BITS).o := y OBJECT_FILES_NON_STANDARD_entry_64_compat.o := y -CFLAGS_syscall_64.o += -Wno-override-init -CFLAGS_syscall_32.o += -Wno-override-init +CFLAGS_syscall_64.o += $(call cc-option,-Wno-override-init,) +CFLAGS_syscall_32.o += $(call cc-option,-Wno-override-init,) obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o obj-y += common.o
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] x86: fix build with older gcc "Jan Beulich" <JBeulich@suse.com> - 2016-10-24 17:10 +0200 [tip:x86/urgent] x86/build: Fix build with older GCC versions tip-bot for Jan Beulich <tipbot@zytor.com> - 2016-10-25 12:40 +0200
csiph-web