mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Fix indent.
This commit is contained in:
parent
41e0a5204b
commit
2ea68714f6
@ -25,11 +25,11 @@ if [ "$USE_LANG_C" = 'yes' ]; then
|
||||
#include <stdio.h>
|
||||
int main(void) { puts("Hai world!"); return 0; }
|
||||
EOF
|
||||
if [ -z "$CC" ]; then
|
||||
for CC in ${CC:=$(which ${CROSS_COMPILE}gcc ${CROSS_COMPILE}cc ${CROSS_COMPILE}clang)} ''; do
|
||||
"$CC" -o "$TEMP_EXE" "$TEMP_C" >/dev/null 2>&1 && break
|
||||
done
|
||||
fi
|
||||
if [ -z "$CC" ]; then
|
||||
for CC in ${CC:=$(which ${CROSS_COMPILE}gcc ${CROSS_COMPILE}cc ${CROSS_COMPILE}clang)} ''; do
|
||||
"$CC" -o "$TEMP_EXE" "$TEMP_C" >/dev/null 2>&1 && break
|
||||
done
|
||||
fi
|
||||
[ "$CC" ] || { echo "$ECHOBUF ... Not found. Exiting."; exit 1;}
|
||||
echo "$ECHOBUF ... $CC"
|
||||
rm -f "$TEMP_C" "$TEMP_EXE"
|
||||
@ -43,11 +43,11 @@ if [ "$USE_LANG_CXX" = 'yes' ]; then
|
||||
#include <iostream>
|
||||
int main() { std::cout << "Hai guise" << std::endl; return 0; }
|
||||
EOF
|
||||
if [ -z "$CXX" ]; then
|
||||
for CXX in ${CXX:=$(which ${CROSS_COMPILE}g++ ${CROSS_COMPILE}c++ ${CROSS_COMPILE}clang++)} ''; do
|
||||
"$CXX" -o "$TEMP_EXE" "$TEMP_CXX" >/dev/null 2>&1 && break
|
||||
done
|
||||
fi
|
||||
if [ -z "$CXX" ]; then
|
||||
for CXX in ${CXX:=$(which ${CROSS_COMPILE}g++ ${CROSS_COMPILE}c++ ${CROSS_COMPILE}clang++)} ''; do
|
||||
"$CXX" -o "$TEMP_EXE" "$TEMP_CXX" >/dev/null 2>&1 && break
|
||||
done
|
||||
fi
|
||||
[ "$CXX" ] || { echo "$ECHOBUF ... Not found. Exiting."; exit 1;}
|
||||
echo "$ECHOBUF ... $CXX"
|
||||
rm -f "$TEMP_CXX" "$TEMP_EXE"
|
||||
|
Loading…
x
Reference in New Issue
Block a user