svn commit: trunk/uClibc

vda at uclibc.org vda at uclibc.org
Tue Dec 16 07:48:29 UTC 2008


Author: vda
Date: 2008-12-15 23:48:29 -0800 (Mon, 15 Dec 2008)
New Revision: 24429

Log:
fix testing "gcc -mpreferred-stack-boundary=2" on x86_64



Modified:
   trunk/uClibc/Rules.mak


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2008-12-15 22:35:09 UTC (rev 24428)
+++ trunk/uClibc/Rules.mak	2008-12-16 07:48:29 UTC (rev 24429)
@@ -184,7 +184,8 @@
 	# NB: this may make SSE insns segfault!
 	# -O1 -march=pentium3, -Os -msse etc are known to be affected.
 	# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13685
-	OPTIMIZATION+=$(call check_gcc,-mpreferred-stack-boundary=2,)
+	# -m32 is needed if host is 64-bit
+	OPTIMIZATION+=$(call check_gcc,-m32 -mpreferred-stack-boundary=2,)
 else
 	OPTIMIZATION+=$(call check_gcc,-mpreferred-stack-boundary=4,)
 endif




More information about the uClibc-cvs mailing list