On 10/21/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> Hello whoever(?),
>
> * NightStrike wrote on Sun, Oct 21, 2007 at 07:13:19PM CEST:
> > If I wanted -pipe passed in to gcc all the time, do I put that in
> > AM_CPPFLAGS or AM_CFLAGS?
>
> You pass it to configure via CFLAGS, or CC:
> ./conf
On Sun, 2007-10-21 at 16:24 -0500, Bob Friesenhahn wrote:
> On Sun, 21 Oct 2007, Benoit SIGOURE wrote:
>
> > On Oct 21, 2007, at 7:13 PM, NightStrike wrote:
> >
> >> If I wanted -pipe passed in to gcc all the time, do I put that in
> >> AM_CPPFLAGS or AM_CFLAGS?
> >
> > I usually do this in my con
On Oct 21, 2007, at 11:24 PM, Bob Friesenhahn wrote:
On Sun, 21 Oct 2007, Benoit SIGOURE wrote:
On Oct 21, 2007, at 7:13 PM, NightStrike wrote:
If I wanted -pipe passed in to gcc all the time, do I put that in
AM_CPPFLAGS or AM_CFLAGS?
I usually do this in my configure.ac:
AC_PROG_CXX
# S
On Sun, 21 Oct 2007, Benoit SIGOURE wrote:
On Oct 21, 2007, at 7:13 PM, NightStrike wrote:
If I wanted -pipe passed in to gcc all the time, do I put that in
AM_CPPFLAGS or AM_CFLAGS?
I usually do this in my configure.ac:
AC_PROG_CXX
# Speed GCC compilation up.
if test "$GXX" = yes; then
CX
Benoit wrote:
> I usually do this in my configure.ac:
>
> AC_PROG_CXX
> # Speed GCC compilation up.
> if test "$GXX" = yes; then
>CXXFLAGS="$CXXFLAGS -pipe"
> fi
I use case statements wherever possible instead of 'test'.
While 'case' is a shell builtin, 'test' may not be. If there are a
bun
On Oct 21, 2007, at 7:13 PM, NightStrike wrote:
If I wanted -pipe passed in to gcc all the time, do I put that in
AM_CPPFLAGS or AM_CFLAGS?
I usually do this in my configure.ac:
AC_PROG_CXX
# Speed GCC compilation up.
if test "$GXX" = yes; then
CXXFLAGS="$CXXFLAGS -pipe"
fi
-or-
AC_PROG_C
Hello whoever(?),
* NightStrike wrote on Sun, Oct 21, 2007 at 07:13:19PM CEST:
> If I wanted -pipe passed in to gcc all the time, do I put that in
> AM_CPPFLAGS or AM_CFLAGS?
You pass it to configure via CFLAGS, or CC:
./configure CC='gcc -pipe'
It makes not much sense in *CPPFLAGS: can't it h
If I wanted -pipe passed in to gcc all the time, do I put that in
AM_CPPFLAGS or AM_CFLAGS?