[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use $CPPFLAGS when finding FlexLexer.h, and for C++ compilat
From: |
Han-Wen Nienhuys |
Subject: |
Re: [PATCH] Use $CPPFLAGS when finding FlexLexer.h, and for C++ compilation commands. |
Date: |
Mon, 18 Aug 2008 00:25:29 -0300 |
looks good to me. Can somebody apply?
thanks!
On Sun, Aug 17, 2008 at 11:55 PM, Paul Jarc <address@hidden> wrote:
> Reinhold Kainhofer <address@hidden> wrote:
>> What Han-Wen meant was that you do a local commit by "git commit
>> stepmake/aclocal.m4 b/stepmake/aclocal.m4" (don't worry, this does
>> not upload anything to the server!), add a proper headline and
>> description in the commit message and then create a git patch by
>> running "git-format-patch origin".
>
> Ah, ok. How's this?
>
> ---
> stepmake/aclocal.m4 | 2 +-
> stepmake/stepmake/c++-vars.make | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4
> index b69dc9c..d692776 100644
> --- a/stepmake/aclocal.m4
> +++ b/stepmake/aclocal.m4
> @@ -452,7 +452,7 @@ AC_DEFUN(STEPMAKE_FLEXLEXER_LOCATION, [
> using namespace std;
> #include <FlexLexer.h>
> EOF
> - FLEXLEXER_FILE=`$CXX -E conftest.cc | \
> + FLEXLEXER_FILE=`eval $ac_cpp conftest.cc | \
> sed 's!# 1 "\(.*FlexLexer.h\)"address@hidden@\1@@!g' | grep '@@' | \
> sed 'address@hidden@\(.*\)@@.*$!\1!g' ` 1> /dev/null 2> /dev/null
> rm conftest.cc
> diff --git a/stepmake/stepmake/c++-vars.make b/stepmake/stepmake/c++-vars.make
> index fdc8b57..923377d 100644
> --- a/stepmake/stepmake/c++-vars.make
> +++ b/stepmake/stepmake/c++-vars.make
> @@ -6,7 +6,7 @@ EXTRA_CXXFLAGS = -W -Wall -Wconversion
> #EXTRA_CXXFLAGS += -Werror
> #endif
>
> -ALL_CXXPPFLAGS = $(DEFINES) $(INCLUDES:%=-I%)
> +ALL_CXXPPFLAGS = $(CPPFLAGS) $(CONFIG_CPPFLAGS) $(DEFINES) $(INCLUDES:%=-I%)
> ALL_CXXFLAGS = $(CXXFLAGS) $(ALL_CXXPPFLAGS) $($(PACKAGE)_CXXFLAGS)
> $(CONFIG_CXXFLAGS) $(MODULE_CXXFLAGS) $(EXTRA_CXXFLAGS)
>
> TCC_FILES := $(call src-wildcard,*.tcc)
> --
> 1.5.6.5
>
>
>
> _______________________________________________
> lilypond-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
>
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- compilation problems, Paul Jarc, 2008/08/05
- Re: compilation problems, Mats Bengtsson, 2008/08/05
- Re: compilation problems, Paul Jarc, 2008/08/17
- Re: compilation problems, Han-Wen Nienhuys, 2008/08/17
- Re: compilation problems, Paul Jarc, 2008/08/17
- Re: compilation problems, Paul Jarc, 2008/08/17
- Re: compilation problems, Reinhold Kainhofer, 2008/08/17
- [PATCH] Use $CPPFLAGS when finding FlexLexer.h, and for C++ compilation commands., Paul Jarc, 2008/08/17
- Re: [PATCH] Use $CPPFLAGS when finding FlexLexer.h, and for C++ compilation commands.,
Han-Wen Nienhuys <=
- Re: [PATCH] Use $CPPFLAGS when finding FlexLexer.h, and for C++ compilation commands., John Mandereau, 2008/08/23