From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941667AbcJYKcz (ORCPT ); Tue, 25 Oct 2016 06:32:55 -0400 Received: from terminus.zytor.com ([198.137.202.10]:60974 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754165AbcJYKcq (ORCPT ); Tue, 25 Oct 2016 06:32:46 -0400 Date: Tue, 25 Oct 2016 03:31:23 -0700 From: tip-bot for Jan Beulich Message-ID: Cc: hpa@zytor.com, mingo@kernel.org, jbeulich@suse.com, torvalds@linux-foundation.org, valdis.kletnieks@vt.edu, linux-kernel@vger.kernel.org, peterz@infradead.org, tglx@linutronix.de, JBeulich@suse.com Reply-To: mingo@kernel.org, hpa@zytor.com, peterz@infradead.org, JBeulich@suse.com, tglx@linutronix.de, torvalds@linux-foundation.org, jbeulich@suse.com, linux-kernel@vger.kernel.org, valdis.kletnieks@vt.edu In-Reply-To: <580E3E1C02000078001191C4@prv-mh.provo.novell.com> References: <580E3E1C02000078001191C4@prv-mh.provo.novell.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/urgent] x86/build: Fix build with older GCC versions Git-Commit-ID: a2209b742e6cf978b85d4f31a25a269c3d3b062b X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: a2209b742e6cf978b85d4f31a25a269c3d3b062b Gitweb: http://git.kernel.org/tip/a2209b742e6cf978b85d4f31a25a269c3d3b062b Author: Jan Beulich AuthorDate: Mon, 24 Oct 2016 09:00:12 -0600 Committer: Ingo Molnar CommitDate: Tue, 25 Oct 2016 11:44:25 +0200 x86/build: Fix build with older GCC versions 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 Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Valdis Kletnieks Cc: Valdis.Kletnieks@vt.edu Fixes: 5e44258d16 "x86/build: Reduce the W=1 warnings noise when compiling x86 syscall tables" Link: http://lkml.kernel.org/r/580E3E1C02000078001191C4@prv-mh.provo.novell.com Signed-off-by: Ingo Molnar --- arch/x86/entry/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/entry/Makefile b/arch/x86/entry/Makefile index 77f28ce..9976fce 100644 --- 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 -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