Set c++11 standard for LibreOffice build - needed by glm
commit761e5309b51511db1509fdfd548eeb6429e012f7
authorMichael Raskin <7c6f434c@mail.ru>
dateFri 5 Dec 2014, 09:38 (12 years ago)
parent73651e6
pkgs/applications/office/libreoffice/default.nix+2
@@ -104,6 +104,8 @@ stdenv.mkDerivation rec {
104104 # to make its dlopen work.
105105 NIX_LDFLAGS = "-lcups";
106106
107+ NIX_CFLAGS_COMPILE="-std=c++11"; # glm 0.9.6.0 insists on this
108+
107109 # If we call 'configure', 'make' will then call configure again without parameters.
108110 # It's their system.
109111 configureScript = "./autogen.sh";