On Wed, 21 Apr 2010, Bill Allombert wrote:
> Suppose user set CFLAGS to XXX. How C files should build ?

Have you read the dpkg-buildflags manual page? If the user wants to modify 
CFLAGS he doesn't set it manually but he uses one of the facility to
extend/override it. The result returned by dpkg-buildflags is supposed to
give the full CFLAGS.

So in your list:
> gcc XXX -fno-strict-aliasing foo.c

Is the right one given XXX=$(shell dpkg-buildflags --get CFLAGS).

Cheers,
-- 
Raphaƫl Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to