diff --git a/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch b/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch index 41b790a22..8800c03c9 100644 --- a/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch +++ b/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch @@ -11,10 +11,10 @@ /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to use the GNU/Linux version, not the generic BPABI version. */ #undef LINK_SPEC - #define LINK_SPEC BE8_LINK_SPEC \ +-#define LINK_SPEC BE8_LINK_SPEC \ ++#define LINK_SPEC BE8_LINK_SPEC TARGET_FIX_V4BX_SPEC \ LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \ -- LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) -+ LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) \ + LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) #undef CC1_SPEC #define CC1_SPEC \