summaryrefslogtreecommitdiff
path: root/toolchain/3rd-party-gcc.in
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/3rd-party-gcc.in')
-rw-r--r--toolchain/3rd-party-gcc.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchain/3rd-party-gcc.in b/toolchain/3rd-party-gcc.in
new file mode 100644
index 0000000..ef8e708
--- /dev/null
+++ b/toolchain/3rd-party-gcc.in
@@ -0,0 +1,8 @@
+#!/bin/sh
+exec \
+ "${ANDROID_TOOLCHAIN}/@CC@" \
+ @CFLAGS@ \
+ @LDFLAGS@ \
+ --sysroot "${ANDROID_PRODUCT_OUT}/@ROOT_SUBDIR@" \
+ -Wl,-rpath,/system/usr/lib \
+ "$@"