From ec9ddee933d16b5126dc6ba6c94ed428dd01ab75 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 11 Jan 2017 10:20:02 -0800 Subject: Remove 2nd copy of the option. Added above, as part of the list. Signed-off-by: Alexey Neyman diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index 0a87581..7a6b194 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -119,8 +119,6 @@ ENABLE_TARGET_OPTSPACE:target-optspace [ "${CT_LIBC_NEWLIB_LTO}" = "y" ] && \ CT_LIBC_NEWLIB_TARGET_CFLAGS="${CT_LIBC_NEWLIB_TARGET_CFLAGS} -flto" - [ "${CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE}" = "y" ] && newlib_opts+=("--enable-target-optspace") - cflags_for_target="${CT_TARGET_CFLAGS} ${CT_LIBC_NEWLIB_TARGET_CFLAGS}" # Note: newlib handles the build/host/target a little bit differently -- cgit v0.10.2-6-g49f6