[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation problems
From: |
Paul Jarc |
Subject: |
Re: compilation problems |
Date: |
Sun, 17 Aug 2008 22:06:02 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
"Han-Wen Nienhuys" <address@hidden> wrote:
> This looks good; can you package everything in a git patch? That makes
> our lives a little easier.
Is this ok?
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)
- 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 <=
- 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, 2008/08/17
- Re: [PATCH] Use $CPPFLAGS when finding FlexLexer.h, and for C++ compilation commands., John Mandereau, 2008/08/23