Search
lxdream.org :: lxdream/acinclude.m4 :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename acinclude.m4
changeset 1212:d1117828f011
prev1211:eecdeb37934a
author nkeynes
date Sun Mar 04 20:56:40 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Add support for armv7-a abi and make it the default - it's a good bit faster
file annotate diff log raw
1.1 --- a/acinclude.m4 Fri Feb 10 19:26:10 2012 +1000
1.2 +++ b/acinclude.m4 Sun Mar 04 20:56:40 2012 +1000
1.3 @@ -4,6 +4,8 @@
1.4 # -----------------------
1.5 AC_DEFUN([AC_CHECK_FASTCALL], [
1.6 AC_MSG_CHECKING([support for fastcall calling conventions]);
1.7 +save_CFLAGS="$CFLAGS"
1.8 +CFLAGS="-Werror $save_CFLAGS"
1.9 AC_RUN_IFELSE([
1.10 AC_LANG_SOURCE([[
1.11 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
1.12 @@ -18,6 +20,7 @@
1.13 $2 ], [
1.14 AC_MSG_RESULT([no])
1.15 $2 ])
1.16 +CFLAGS="$save_CFLAGS"
1.17 ])
1.18
1.19 # AC_CHECK_FORCEINLINE([if-ok],[if-notok])
.