diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-31 01:33:28 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-12-31 01:36:16 +0100 |
commit | 836d5395a556f345fce8ffee933ec8d967f86930 (patch) | |
tree | 992bd7abbcbedf6feb6d78c7219c1571d32a69a3 /target/toolchain | |
parent | ac42b916bccb609817fee69172b5902254a3c3c8 (diff) | |
download | upstream-836d5395a556f345fce8ffee933ec8d967f86930.tar.gz upstream-836d5395a556f345fce8ffee933ec8d967f86930.tar.bz2 upstream-836d5395a556f345fce8ffee933ec8d967f86930.zip |
toolchain: wrapper.sh: harmonize leading whitespaces
Convert leading spaces to tabs and generally harmonize leading
whitespace indent in the file.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/toolchain')
-rwxr-xr-x | target/toolchain/files/wrapper.sh | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/target/toolchain/files/wrapper.sh b/target/toolchain/files/wrapper.sh index 51c8879a76..2cbcc8c1e6 100755 --- a/target/toolchain/files/wrapper.sh +++ b/target/toolchain/files/wrapper.sh @@ -48,22 +48,22 @@ export GCC_HONOUR_COPTS TOOLCHAIN_SYSROOT="$TOOLCHAIN_BIN_DIR/../.." if [ ! -d "$TOOLCHAIN_SYSROOT" ]; then - echo "Error: Unable to determine sysroot (looking for $TOOLCHAIN_SYSROOT)!" >&2 - exit 1 + echo "Error: Unable to determine sysroot (looking for $TOOLCHAIN_SYSROOT)!" >&2 + exit 1 fi # -Wl,--dynamic-linker=$TOOLCHAIN_SYSROOT/lib/ld-uClibc.so.0 # --dynamic-linker=$TOOLCHAIN_SYSROOT/lib/ld-uClibc.so.0 case $TOOLCHAIN_PLATFORM in - gnu|glibc|uclibc|musl) - GCC_SYSROOT_FLAGS="--sysroot=$TOOLCHAIN_SYSROOT -Wl,-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib" - LD_SYSROOT_FLAGS="-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib" - ;; - *) - GCC_SYSROOT_FLAGS="" - LD_SYSROOT_FLAGS="" - ;; + gnu|glibc|uclibc|musl) + GCC_SYSROOT_FLAGS="--sysroot=$TOOLCHAIN_SYSROOT -Wl,-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib" + LD_SYSROOT_FLAGS="-rpath=$TOOLCHAIN_SYSROOT/lib:$TOOLCHAIN_SYSROOT/usr/lib" + ;; + *) + GCC_SYSROOT_FLAGS="" + LD_SYSROOT_FLAGS="" + ;; esac # |