diff options
Diffstat (limited to 'app-office/libreoffice/libreoffice-7.0.9999.ebuild')
-rw-r--r-- | app-office/libreoffice/libreoffice-7.0.9999.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app-office/libreoffice/libreoffice-7.0.9999.ebuild b/app-office/libreoffice/libreoffice-7.0.9999.ebuild index c04d5929a50..1423e832b11 100644 --- a/app-office/libreoffice/libreoffice-7.0.9999.ebuild +++ b/app-office/libreoffice/libreoffice-7.0.9999.ebuild @@ -401,7 +401,6 @@ src_configure() { NM=llvm-nm RANLIB=llvm-ranlib LDFLAGS+=" -fuse-ld=lld" - strip-unsupported-flags else # Force gcc einfo "Enforcing the use of gcc due to USE=-clang ..." @@ -410,8 +409,16 @@ src_configure() { CXX=${CHOST}-g++ NM=gcc-nm RANLIB=gcc-ranlib + fi + + if use custom-cflags ; then + elog "USE=custom-cflags has been selected. You are on your own to make sure that" + elog "the build succeeds. Good luck!" strip-unsupported-flags + else + strip-flags fi + export CLANG_CC=${CC} export CLANG_CXX=${CXX} |