summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-external/ext-toolchain-wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/toolchain-external/ext-toolchain-wrapper.c')
-rw-r--r--toolchain/toolchain-external/ext-toolchain-wrapper.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/toolchain-external/ext-toolchain-wrapper.c b/toolchain/toolchain-external/ext-toolchain-wrapper.c
index 719f13bd1..82595eaa7 100644
--- a/toolchain/toolchain-external/ext-toolchain-wrapper.c
+++ b/toolchain/toolchain-external/ext-toolchain-wrapper.c
@@ -40,6 +40,9 @@ static char *predef_args[] = {
#ifdef BR_VFPFLOAT
"-mfpu=vfp",
#endif /* BR_VFPFLOAT */
+#ifdef BR_64
+ "-m64",
+#endif
#ifdef BR_ADDITIONAL_CFLAGS
BR_ADDITIONAL_CFLAGS
#endif