notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2013c9
)
arm: automatically disable thumb
author
notaz
<notasas@gmail.com>
Mon, 23 Jul 2012 23:51:43 +0000
(
02:51
+0300)
committer
notaz
<notasas@gmail.com>
Mon, 23 Jul 2012 23:51:47 +0000
(
02:51
+0300)
recompiler can't handle it
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index
4cbcc80
..
00511bd
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-170,6
+170,11
@@
if [ "$ARCH" = "arm" ]; then
echo "$ASFLAGS" | grep -q -- '-mfloat-abi=' || ASFLAGS="$ASFLAGS -mfloat-abi=softfp"
fi
+ # must disable -mthumb as recompiler can't handle it
+ if check_define __thumb__; then
+ CFLAGS="$CFLAGS -mno-thumb"
+ fi
+
if [ "$have_armv7" = "yes" ]; then
ASFLAGS="$ASFLAGS --defsym HAVE_ARMV7=1"
else