In the below example "-O2 -w" is set after "-O3 -pipe -flto=thin -march=native" The -O2 will override the former -O3 S=/var/tmp/portage/app-office/libreoffice-7.0.3.1/work/libreoffice-7.0.3.1 && I=$S/instdir && W=$S/workdir && mkdir -p $W/GenCxxObject/UnpackedTarball/skia/src/utils/ $W/Dep/GenCxxObject/UnpackedTarball/skia/src/utils/ && cd /var/tmp/portage/app-office/libreoffice-7.0.3.1/work/libreoffice-7.0.3.1 && CCACHE_CPP2=1 x86_64-pc-linux-gnu-clang++ -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DENABLE_LTO -DLINUX -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT -DSKIA_IMPLEMENTATION=1 -DSKIA_DLL -DSK_USER_CONFIG_HEADER="<$S/config_host/config_skia.h>" -DSYSTEM_ZLIB -flto -fvisibility=hidden -Wall -Wno-missing-braces -Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wunused-macros -Wembedded-directive -finput-charset=UTF-8 -fmessage-length=0 -fno-common -pipe -fstack-protector-strong -fdiagnostics-color=always -Wdeprecated-copy-dtor -Wimplicit-fallthrough -Wunused-exception-parameter -Wrange-loop-analysis -fvisibility-inlines-hidden -fPIC -Wshadow -Woverloaded-virtual -std=c++17 -pthread -O3 -pipe -flto=thin -march=native -DEXCEPTIONS_ON -fexceptions -O2 -w -DLIBO_INTERNAL_ONLY -c $W/UnpackedTarball/skia/src/utils/SkShaperJSONWriter.cpp -o $W/GenCxxObject/UnpackedTarball/skia/src/utils/SkShaperJSONWriter.o -I$S/include -I/usr/lib64/openjdk-11/include -I/usr/lib64/openjdk-11/include/linux -I$S/config_host -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -isystem /usr/include/libpng16 -I$W/UnpackedTarball/skia -I$W/UnpackedTarball/skia/include/third_party/skcms/ -I$W/UnpackedTarball/skia/third_party/vulkanmemoryallocator/ -I$W/UnpackedTarball/skia/include/third_party/vulkan/ -I$S/external/skia/inc/ Reproducible: Always
The bug has been closed via the following commit(s): http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ae50a3def564d0aa28719dcc244c211c1fdd8c commit c9ae50a3def564d0aa28719dcc244c211c1fdd8c Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2020-12-10 21:57:57 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2020-12-10 21:57:57 +0000 app-office/libreoffice: Contribute to global warming When USE=custom-cflags is set, do not manipulate CFLAGS at all. The build may well fail halfway through, but hey, it's just entropy. Closes: http://bugs.gentoo.org/756697 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> app-office/libreoffice/libreoffice-7.0.3.1.ebuild | 1 - app-office/libreoffice/libreoffice-7.0.9999.ebuild | 1 - app-office/libreoffice/libreoffice-9999.ebuild | 1 - 3 files changed, 3 deletions(-)