Merge pull request #220735 from wegank/libreoffice-gcc

libreoffice-still: fix build on aarch64-linux

authored by Weijia Wang and committed by GitHub b4c4ece0 feb117e3

+4 -2
+4 -2
pkgs/applications/office/libreoffice/default.nix
··· 193 193 194 194 outputs = [ "out" "dev" ]; 195 195 196 - env.NIX_CFLAGS_COMPILE = toString [ 196 + env.NIX_CFLAGS_COMPILE = toString ([ 197 197 "-I${librdf_rasqal}/include/rasqal" # librdf_redland refers to rasqal.h instead of rasqal/rasqal.h 198 198 "-fno-visibility-inlines-hidden" # https://bugs.documentfoundation.org/show_bug.cgi?id=78174#c10 199 - ]; 199 + ] ++ optionals (stdenv.isLinux && stdenv.isAarch64 && variant == "still") [ 200 + "-O2" # https://bugs.gentoo.org/727188 201 + ]); 200 202 201 203 tarballPath = "external/tarballs"; 202 204