asc: force use of C++11 during build

Log of error: https://hydra.nixos.org/log/f8yhxkg3zqqsz9ljbi98fsiibihvdbfd-asc-2.6.0.0.drv
Refs: ZHF: #172160
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2022-05-09 21:57:04 -03:00
parent 5a68a4274d
commit c9078c5236

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-paragui" "--disable-paraguitest" ];
NIX_CFLAGS_COMPILE = "-fpermissive -Wno-error=narrowing"; # I'm too lazy to catch all gcc47-related problems
NIX_CFLAGS_COMPILE = "-fpermissive -Wno-error=narrowing -std=c++11"; # I'm too lazy to catch all gcc47-related problems
hardeningDisable = [ "format" ];
buildInputs = [