Kaydet (Commit) 5d50612b authored tarafından Caolán McNamara's avatar Caolán McNamara

COM_IS_CLANG is used before its set

since

commit 817cd83c
Author: Peter Foley <pefoley2@pefoley.com>
Date:   Mon Jan 18 14:19:51 2016 -0500

    Improve LTO flags on Android

so just drop the piece which can never be true here

Change-Id: Ia9d718254d9dda5c25af269221a2acae1eb0566d
Reviewed-on: https://gerrit.libreoffice.org/32070Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst cc69d4f2
......@@ -536,11 +536,7 @@ if test -n "$with_android_ndk"; then
if test "$ENABLE_LTO" = TRUE; then
# -flto comes from com_GCC_defs.mk, too, but we need to make sure it gets passed as part of
# $CC and $CXX when building external libraries
if test "$COM_IS_CLANG" = TRUE; then
ANDROIDCFLAGS="$ANDROIDCFLAGS -flto"
else
ANDROIDCFLAGS="$ANDROIDCFLAGS -flto -fuse-linker-plugin -O2"
fi
ANDROIDCFLAGS="$ANDROIDCFLAGS -flto -fuse-linker-plugin -O2"
fi
# gdbserver can be in different locations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment