[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: about CFLAGS

On Sat, Nov 29, 1997 at 06:18:39PM +0100, Francesco Tapparo wrote:
> I'm packaging scwm: my problem is that the makefiles of this program don't
> work if a set CFLAGS externally (e.g. with: make CFLAGS="-O2 -g -Wall"). The
> makefiles are created by configure. Is a such behaviour wrong, or I must set
> the variables within configure? (I tried with ./configure CFLAGS="-O2 -g
> -Wall", but without any positive results).
> Thank you for any answer.

With several of my packages I have found that deb-make's inclusion
of the CFLAGS on the make command line causes many compile errors.
I just remove it. Errors which wouldn't seem to be related to the particular
flags it adds, like missing files, wrong directories etc.

Hamish Moffatt, StudIEAust              hamish@debian.org, hmoffatt@mail.com
Student, computer science & computer systems engineering.    3rd year, RMIT.
http://hamish.home.ml.org/ (PGP key here)             CPOM: [******    ] 60%
Your train has been cancelled due to defective government at Spring Street..

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: