[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU grep-2.5 CFLAGS problem
From: |
Stepan Kasal |
Subject: |
Re: GNU grep-2.5 CFLAGS problem |
Date: |
Thu, 4 Jul 2002 08:22:47 +0000 (UTC) |
User-agent: |
slrn/0.9.6.2 (Linux) |
Hallo,
On Wed, 03 Jul 2002 12:16:03 +0100, scott douglass <address@hidden> wrote:
> The configure of grep-2.5 on linux (e.g RedHat 7.2) puts
> '-I/usr/include/pcre' in CFLAGS = ... in <builddir>/src/Makefile.
> Because of this doing, e.g.
> make CFLAGS='-g -O2 -march=pentium2'
> fails.
One comment: if you run
CFLAGS='-g -O2 -march=pentium2' ./configure
The CFLAGS value is saved in src/Makefile, so that you should be then able
to run just `make' and get what you want.
> Wouldn't it be better if the '-I/usr/include/pcre' was put
> in INCLUDES = ... or DEFAULT_INCLUDES = ...?
I don't ahve enough experience to determine the right solution, so please
wait until someone else responds.
Tahnk you for your suggestion,
Stepan Kasal