mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-16 14:30:34 +00:00
Allow building with GCC 5
* Disable -freorder-blocks-and-partition, since it can override -fno-reorder-blocks * Disable look-header copying, since it tends to cause early returns * Disable argument pushing, we don't want to change esp
This commit is contained in:
parent
7de64a6fce
commit
c91ef547bd
@ -1575,7 +1575,7 @@ if [[ "x$EMULATED_PPC" = "xyes" ]]; then
|
||||
fi
|
||||
DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -finline-functions -finline-limit=10000 -fno-exceptions -g0"
|
||||
if [[ "x$have_dyngen_gcc3" = "xyes" ]]; then
|
||||
DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -fno-reorder-blocks -fno-optimize-sibling-calls"
|
||||
DYNGEN_OP_FLAGS="$DYNGEN_OP_FLAGS -fno-reorder-blocks -fno-optimize-sibling-calls -fno-reorder-blocks-and-partition -fno-tree-ch -mno-push-args"
|
||||
fi
|
||||
if [[ "x$DYNGEN_CC" != "x$CXX" ]]; then
|
||||
DYNGEN_CFLAGS="-O2 $CFLAGS"
|
||||
|
Loading…
x
Reference in New Issue
Block a user