Problem with configure compiling 64-bit under Solaris 10

Björn Jacke bj at SerNet.DE
Fri Mar 27 18:25:28 GMT 2009


Hi John,

On 2009-03-15 at 13:37 -0400 John Center sent off:
> The offending lines in configure are often in the form:
>
> 	old_CFLAGS="$CFLAGS";
> 	CFLAGS="$Werror_FLAGS";
> 	export CFLAGS;
>
> where Werror_FLAGS is defined as:  Werror_FLAGS="<errflag>".
>
> I think Werror_FLAGS should be redefined instead as:
>
> 	Werror_FLAGS="$CFLAGS <errflag>"
>
> maintaining the builder's CFLAGS.  This would prevent problems like this 
> from occurring in the future.

what problem do you see in particular? I tried a compile with the Studio
compiler with CFLAGS=-m64 and didn't have problems. Even if the configure check
like the above mentioned are done without the user supplied CFLAGS the correct
result is also found out with a 32bit compile test. In the end we still have
-m64 in our CFLAGS in the Makefile here.

Cheers
Björn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090327/5d3d92d6/attachment.bin


More information about the samba-technical mailing list