File tree Expand file tree Collapse file tree 4 files changed +27
-6
lines changed Expand file tree Collapse file tree 4 files changed +27
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ if [[ "${LLVM_OBF_USE_BR_TOOLCHAIN}" ]]; then
1313 -B ${T} /lib/gcc/arm-linux-gnueabihf/6.2.1/ \
1414 \
1515 -L ${T} /lib/gcc/arm-linux-gnueabihf/6.2.1/ \
16- -L /piksi_buildroot/buildroot/host_output/host/opt/ext-toolchain/lib/gcc/i686-pc-linux-gnu/4.7.2"
16+ -L /piksi_buildroot/buildroot/host_output/host/opt/ext-toolchain/lib/gcc/i686-pc-linux-gnu/4.7.2 \
17+ -Wno-unused-command-line-argument"
1718
1819else
1920
3334 \
3435 -L ${R} /usr/arm-linux-gnueabi/libhf \
3536 -L ${R} /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8 \
36- -L ${R} /usr/lib/x86_64-linux-gnu"
37+ -L ${R} /usr/lib/x86_64-linux-gnu \
38+ -Wno-unused-command-line-argument"
3739fi
3840
39- ${D} /bin/clang \
41+ exec ${D} /bin/clang \
4042 ${TOOLCHAIN_OPTS} \
4143 -ccc-gcc-name arm-linux-gnueabihf-gcc \
4244 --target=arm-linux-gnueabihf \
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ if [[ "${LLVM_OBF_USE_BR_TOOLCHAIN}" ]]; then
1616 -I ${T} /arm-linux-gnueabihf/include/c++/6.2.1/arm-linux-gnueabihf/ \
1717 \
1818 -L ${T} /lib/gcc/arm-linux-gnueabihf/6.2.1/ \
19- -L /piksi_buildroot/buildroot/host_output/host/opt/ext-toolchain/lib/gcc/i686-pc-linux-gnu/4.7.2"
19+ -L /piksi_buildroot/buildroot/host_output/host/opt/ext-toolchain/lib/gcc/i686-pc-linux-gnu/4.7.2 \
20+ -Wno-unused-command-line-argument"
2021
2122else
2223
3839 \
3940 -L ${R} /usr/arm-linux-gnueabi/libhf \
4041 -L ${R} /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8 \
41- -L ${R} /usr/lib/x86_64-linux-gnu"
42+ -L ${R} /usr/lib/x86_64-linux-gnu \
43+ -Wno-unused-command-line-argument"
4244fi
4345
44- ${D} /bin/clang++ \
46+ exec ${D} /bin/clang++ \
4547 ${TOOLCHAIN_OPTS} \
4648 -ccc-gcc-name arm-linux-gnueabihf-gcc \
4749 --target=arm-linux-gnueabihf \
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ D=$( (cd ` dirname $0 ` /../.. > /dev/null; pwd -P) )
4+ R=$D /sysroot
5+
6+ export LD_LIBRARY_PATH=" ${R} /usr/lib/x86_64-linux-gnu"
7+
8+ exec ${R} /usr/bin/arm-linux-gnueabihf-objcopy $@
9+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ D=$( (cd ` dirname $0 ` /../.. > /dev/null; pwd -P) )
4+ R=$D /sysroot
5+
6+ export LD_LIBRARY_PATH=" ${R} /usr/lib/x86_64-linux-gnu"
7+
8+ exec ${R} /usr/bin/arm-linux-gnueabihf-strip $@
You can’t perform that action at this time.
0 commit comments