mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 00:43:12 +00:00
Older GCC (observed with 4.1.x) doesn't support -Wno-override-init and
also doesn't ignore unknown -Wno-* options.
Signed-off-by: Jan Beulich <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Valdis Kletnieks <[email protected]>
Cc: [email protected]
Fixes: 5e44258d16 "x86/build: Reduce the W=1 warnings noise when compiling x86 syscall tables"
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
18 lines
461 B
Makefile
18 lines
461 B
Makefile
#
|
|
# Makefile for the x86 low level entry code
|
|
#
|
|
|
|
OBJECT_FILES_NON_STANDARD_entry_$(BITS).o := y
|
|
OBJECT_FILES_NON_STANDARD_entry_64_compat.o := y
|
|
|
|
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
|
|
|
|
obj-y += vdso/
|
|
obj-y += vsyscall/
|
|
|
|
obj-$(CONFIG_IA32_EMULATION) += entry_64_compat.o syscall_32.o
|
|
|