From 2724bec48977ef50bcbbfa1702c19307658ca671 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 18 May 2009 18:05:00 +0000 Subject: make Build -g -Wdecl do -Wdeclaration-after-statement git-svn-id: svn://tug.org/texlive/trunk@13206 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/Build | 13 ++++++++++--- Build/source/ChangeLog | 8 ++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) (limited to 'Build/source') diff --git a/Build/source/Build b/Build/source/Build index 6674f10c586..937aafc43e3 100755 --- a/Build/source/Build +++ b/Build/source/Build @@ -1,8 +1,8 @@ #!/bin/sh # $Id$ # Public domain. Originally written many years ago by Sebastian Rahtz. -# To build again from same sources, try Build --no-clean. -# To build (mostly) without optimization, try Build --debug. +# To build again, try Build --no-clean. +# To build without optimization, try Build --debug. # # Any other options given are passed along to configure, and everything can be # overridden with environment variables. @@ -51,8 +51,15 @@ fi : ${TL_BUILD_ENV=} if test "x$1" = x--debug || test "x$1" = x-g; then - TL_BUILD_ENV="CFLAGS=-g CXXFLAGS=-g OBJCFLAGS=-g $TL_BUILD_ENV" shift + if test "x$1" = x-Wdecl || test "x$1" = x-Wdeclaration-after-statement; then + wdecl=-Wdeclaration-after-statement + shift + else + wdecl= + fi + TL_GFLAGS="wdecl $TL_GCFLAGS" + TL_BUILD_ENV="CFLAGS='-g $TL_GCFLAGS' CXXFLAGS=-g OBJCFLAGS=-g $TL_BUILD_ENV" fi test -d $TL_WORKDIR || mkdir $TL_WORKDIR diff --git a/Build/source/ChangeLog b/Build/source/ChangeLog index 997a11c3f2e..11b6ba43522 100644 --- a/Build/source/ChangeLog +++ b/Build/source/ChangeLog @@ -1,3 +1,11 @@ +2009-05-18 Karl Berry + + * Build (-Wdecl): allow with -g, to do -Wdeclaration-after-statement. + +2009-05-16 Karl Berry + + * Build (TL_CONF_XINDY): default to disabling latex-requiring stuff. + 2009-04-29 Karl Berry * Build (MACOSX_DEPLOYMENT_TARGET): set to 10.3 on powerpc-darwin -- cgit v1.2.3