OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a53368f
)
fix testing "gcc -mpreferred-stack-boundary=2" on x86_64
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 16 Dec 2008 07:48:29 +0000
(07:48 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 16 Dec 2008 07:48:29 +0000
(07:48 -0000)
Rules.mak
patch
|
blob
|
history
diff --git
a/Rules.mak
b/Rules.mak
index
b3dec5b
..
86a7c48
100644
(file)
--- a/
Rules.mak
+++ b/
Rules.mak
@@
-184,7
+184,8
@@
ifeq ($(CONFIG_386)$(CONFIG_486)$(CONFIG_586)$(CONFIG_586MMX),y)
# 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