From 319c61c893f896279d3ad2e8ef26d0026909b191 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sun, 25 Mar 2018 14:39:31 +0200 Subject: [PATCH] ragel: fix clang build /cc ZHF #36454 --- pkgs/development/tools/parsing/ragel/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/tools/parsing/ragel/default.nix b/pkgs/development/tools/parsing/ragel/default.nix index 66895fb7fd3ed..6b497e456300c 100644 --- a/pkgs/development/tools/parsing/ragel/default.nix +++ b/pkgs/development/tools/parsing/ragel/default.nix @@ -20,7 +20,7 @@ let configureFlags = [ "--with-colm=${colm}" ]; - NIX_CFLAGS_COMPILE = "-std=gnu++98"; + NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isGNU "-std=gnu++98"; doCheck = true;