projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86/build: Fix build with older GCC versions
[cascardo/linux.git]
/
arch
/
x86
/
entry
/
Makefile
diff --git
a/arch/x86/entry/Makefile
b/arch/x86/entry/Makefile
index
77f28ce
..
9976fce
100644
(file)
--- a/
arch/x86/entry/Makefile
+++ b/
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
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
obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o
obj-y += common.o