Bug#411520: [Build-common-hackers] Bug#411520: cdbs: Does not preserve the CFLAGS variable

Luis Cañas Díaz lcanasdiaz at gmail.com
Tue Feb 20 00:02:42 UTC 2007


El lun, 19-02-2007 a las 18:52 +0100, Peter Eisentraut escribió:
> Luis wrote:
> > The makefiles of the CDBS package don't preserve the CFLAGS variable.
> 
> Where did you set the CFLAGS value that you wanted to have preserved?

These vars are already defined in my environment before calling the
debuild command. My aim is to compile gnome packages with a special C
compiler and specials CFLAGS.[1]

Despite I call debuild with the --preserve-envvar option, the CFLAGS
variable does not respect its previous value:

        debuild -d --preserve-envvar=CC --preserve-envvar=CFLAGS
        --preserve-envvar=DEB_BUILD_OPTIONS
        
I hope this helps.


[1]
        sh-2.05b# env |grep C
        CFLAGS=--sampler-scheme=function-entries --sampler-random=online
        CC=/usr/bin/sampler-cc

Saludos,
Luis.





More information about the Build-common-hackers mailing list