dhcpcd-discuss

Re: Building dhcpcd-5 with CSTD=gnu99

Bernhard Bitsch

Sat Feb 20 17:30:07 2010



Am 20.02.2010 15:35, schrieb Roy Marples:
On Saturday 20 February 2010 11:25:12 Bernhard Bitsch wrote:
Hi,
I try to build dhcpcd-5 in an "old" environment. README states to set
CSTD=gnu99
Where can I set it?
config.mk ever sets CFLAGS without my CSTD setting.
What goes wrong?
make CSTD=gnu99

If you could come up with a patch to configure to try and detect if we need
that flag, it would be ace.

Thanks

Roy

I just tried this before. :(
If I assign CFLAGS in configure with += CFLAGS is "<normal CFLAGS> -std=gnu99 <normal CFLAGS>"
Assignment per := or = gives <normal CFLAGS>  ( without -std=gnu99 )

BTW: In both configurations I get errors with /usr/include/linux/rtnetlink.h

Thanks

Bernhard

Follow-Ups:
Re: Building dhcpcd-5 with CSTD=gnu99Roy Marples
References:
Building dhcpcd-5 with CSTD=gnu99Bernhard Bitsch
Re: Building dhcpcd-5 with CSTD=gnu99Roy Marples
Archive administrator: postmaster@marples.name