summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
00a212a)
like armv6l-unknown-linux-gnueabihf in Arch Linux
int main(void) { return 0; }
EOF
if ! compile_binary; then
int main(void) { return 0; }
EOF
if ! compile_binary; then
- fail "basic compiler test failed, please check config.log"
+ fail "compiler test failed, please check config.log"
fi
if [ -z "$ARCH" ]; then
fi
if [ -z "$ARCH" ]; then
- ARCH=`$CC -v 2>&1 | grep -i 'target:' | awk '{print $2}' \
- | awk -F '-' '{print $1}'`
+ ARCH=`$CC -dumpmachine | awk -F '-' '{print $1}'`
-# ARM stuff
-if [ "$ARCH" = "arm" ]; then
+case "$ARCH" in
+arm*)
+ # ARM stuff
+ ARCH="arm"
+
if [ "$optimize_cortexa8" = "yes" ]; then
CFLAGS="$CFLAGS -mcpu=cortex-a8 -mtune=cortex-a8"
ASFLAGS="$ASFLAGS -mcpu=cortex-a8"
if [ "$optimize_cortexa8" = "yes" ]; then
CFLAGS="$CFLAGS -mcpu=cortex-a8 -mtune=cortex-a8"
ASFLAGS="$ASFLAGS -mcpu=cortex-a8"
echo "You probably want to specify -mcpu= or -march= like this:"
echo " CFLAGS=-march=armv7-a ./configure ..."
fi
echo "You probably want to specify -mcpu= or -march= like this:"
echo " CFLAGS=-march=armv7-a ./configure ..."
fi
# dynarec only available on ARM
enable_dynarec="no"
# dynarec only available on ARM
enable_dynarec="no"
if [ "x$builtin_gpu" = "x" ]; then
builtin_gpu="peops"
if [ "x$builtin_gpu" = "x" ]; then
builtin_gpu="peops"