Changing CFLAGS when using ./configure script
Posted on 2001-07-06
Ok, Im trying to compile SSH 3.0 on my FreeBSD on an Alpha server.
When I run the configure script everything is fine and my makefiles are created.
But the problem is when I compile with make.
It warn's me that the -O2 flag trigger some known optimiser bug.
So I would like to change the directive for it to use -O1 instead of -O2
I tried changing the CFLAGS shell variable, but it didn't work.
I also tried to change the CFLAGS directive in the top level MakeFile
but that didn't do eigther.
How can I tell make to use the -O1 flag instead of the -O2 flags when I run make?
Ps: If I try to compile using the -O2 flag, the systems panic and reboot.