diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-16 09:45:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-16 14:22:45 +0000 |
commit | 5d50612bfb5569cfc886d729545a7e9f7840c305 (patch) | |
tree | 1179044121dba33286f2112d56b76d34a5ff13f0 /configure.ac | |
parent | cc69d4f26bb57e85f3a944d91a63c4ed8000d3c7 (diff) |
COM_IS_CLANG is used before its set
since
commit 817cd83cb76582cda848da0370d3e1b68f5bbb01
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/32070
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index eb2dd83a0dfc..3e584080924d 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |