Search
lxdream.org :: lxdream :: r1212:d1117828f011
lxdream 0.9.1
released Jun 29
Download Now
changeset1212:d1117828f011
parent1211:eecdeb37934a
child1213:d5ea3e98557b
authornkeynes
dateSun Feb 12 16:30:26 2012 +1000 (7 years ago)
Add -Werror for mregparm check, so it actually fails if mregparm isn't
accepted
acinclude.m4
configure
1.1 --- a/acinclude.m4 Fri Feb 10 19:26:10 2012 +1000
1.2 +++ b/acinclude.m4 Sun Feb 12 16:30:26 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])
2.1 --- a/configure Fri Feb 10 19:26:10 2012 +1000
2.2 +++ b/configure Sun Feb 12 16:30:26 2012 +1000
2.3 @@ -9751,6 +9751,8 @@
2.4
2.5 { echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
2.6 echo $ECHO_N "checking support for fastcall calling conventions... $ECHO_C" >&6; };
2.7 +save_CFLAGS="$CFLAGS"
2.8 +CFLAGS="-Werror $save_CFLAGS"
2.9 if test "$cross_compiling" = yes; then
2.10
2.11 { echo "$as_me:$LINENO: result: no" >&5
2.12 @@ -9817,6 +9819,7 @@
2.13 fi
2.14
2.15
2.16 +CFLAGS="$save_CFLAGS"
2.17
2.18
2.19 { echo "$as_me:$LINENO: checking support for force inlining" >&5
.