[git commit prelink 1/1] sparc: check for log double support in gcc

Mike Frysinger vapier at gentoo.org
Wed Feb 23 18:13:24 UTC 2011


On Sunday, January 02, 2011 02:00:47 Konrad Eisele wrote:
> +# check weather __LONG_DOUBLE_128__ is defined (long double support)
> +UCLIBC_SPARC_HAS_LONG_DOUBLE=
> $(shell if [ "x`$(CC) -E -dM -xc /dev/null 2>&1 | grep __LONG_DOUBLE_128__`" 
!= "x" ]; then echo "y"; fi)

this probably should be generalized into a "check_cpp" or something.

at any rate, this would be a lot simpler written as:
	$(CC) -E -dM -xc /dev/null | grep -qs __LONG_DOUBLE_128__ && echo y
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20110223/eb5117a2/attachment.asc>


More information about the uClibc mailing list