From patchwork Thu Aug 21 17:59:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 2509 Received: (qmail 17765 invoked by alias); 21 Aug 2014 18:00:03 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 17746 invoked by uid 89); 21 Aug 2014 18:00:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Date: Thu, 21 Aug 2014 23:29:54 +0530 From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [PATCH 20/20] Include config.h in MIN-CPPFLAGS Message-ID: <20140821175954.GA10983@spoyarek.pnq.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) This is needed when processing the Versions files since they could refer to macros defined in config.h. config.h was earlier included through libc-symbols.h but since MIN-CPPFLAGS does not include the latter anymore, it needs to at least include config.h. This was causing a difference in generated code on s390x. With this change, s390x code is also unchanged with this and other 19 patches (barring the IN_LIB patch of course). * Makeconfig (MIN-CPPFLAGS): Include config.h. --- Makeconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/Makeconfig b/Makeconfig index df26cd0..38f4851 100644 --- a/Makeconfig +++ b/Makeconfig @@ -845,6 +845,7 @@ override CXXFLAGS = $(c++-sysincludes) \ MIN-CPPFLAGS = $(config-extra-cppflags) $(CPPUNDEFS) $(CPPFLAGS-config) \ $($(subdir)-CPPFLAGS) \ $(+includes) $(defines) $(sysdep-CPPFLAGS) \ + -include $(common-objpfx)config.h \ $(CPPFLAGS-$(suffix $@)) \ $(foreach lib,$(libof-$(basename $(@F))) \ $(libof-$(