mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
build: Explicitly disable all arch-specific optimizations for sdlapp or sim
Change-Id: I76d1097cea58018cb1e96dbbce8d5feaeacd8a96
This commit is contained in:
parent
95ab3e8b0e
commit
ecb3e9936f
1 changed files with 6 additions and 0 deletions
6
tools/configure
vendored
6
tools/configure
vendored
|
|
@ -4721,6 +4721,12 @@ RANLIB=`findtool ${RANLIB} --lit`
|
|||
HOSTCC=${HOSTCC:-${CC}}
|
||||
HOSTAR=${HOSTAR:-${AR}}
|
||||
|
||||
# This disables all arch-specific code paths (eg inline asm)
|
||||
# for builds that target the host system
|
||||
if [ "$app_type" = "sdl-sim" -o "$app_type" = "sdl-app" -o "$app_type" = "checkwps" ]; then
|
||||
arch="none"
|
||||
fi
|
||||
|
||||
if [ -z "$arch" ]; then
|
||||
cpp_defines=$(echo "" | $CPP $GCCOPTS -dD)
|
||||
if [ -n "$(echo $cpp_defines | grep -w __m68k__)" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue