Alex Zepeda wrote: > On Thu, Jun 13, 2002 at 12:26:05PM +1000, Bruce Evans wrote: > > rtld still uses asms with the old, broken/fragile "0" constraint. This > > constraint is especially broken/fragile if things are pessimized by > > compiling without optimizations. > > D'oh! > > Is there any chance of sticking a warning in the makefile if -O0 (or > whatever else would cause it to not compile) is present?
GCCVERS=`gcc -v 2>&1 | grep version | cut -d " " -f 3` .if ${GCCVERS} = "3.1" .BEGIN: echo "Optimization with GCC 3.1 is often broken!" >&2 .endif Oh... you wanted to grep "-O" out of the CFLAGS and CXXFLAGS? How to do that should be obvious from the above... -- Terry To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message