|
From: <sv...@va...> - 2014-08-21 10:04:10
|
Author: mjw
Date: Thu Aug 21 10:03:52 2014
New Revision: 14324
Log:
Improve -mpreferred-stack-boundary configure message.
Explicitly say we are checking for -mpreferred-stack-boundary=2.
Only 2 is ever used when it is supported. Some gcc versions/arches
(e.g. GCC 4.8 for x86_64) support -mpreferred-stack-boundary, but
only between 4 and 12. The message that -mpreferred-stack-boundary
wasn't supported was a little confusing. So explicitly say we checked
for -mpreferred-stack-boundary=2.
Modified:
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Aug 21 10:03:52 2014
@@ -1708,7 +1708,7 @@
# does this compiler support -mpreferred-stack-boundary=2 ?
-AC_MSG_CHECKING([if gcc accepts -mpreferred-stack-boundary])
+AC_MSG_CHECKING([if gcc accepts -mpreferred-stack-boundary=2])
safe_CFLAGS=$CFLAGS
CFLAGS="-mpreferred-stack-boundary=2"
|