about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/gengetopt/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-11-09 06:01:40 +0000
committerGitHub <noreply@github.com>2023-11-09 06:01:40 +0000
commitfecd99b105c644b1b61abfec6c203b304269e1e2 (patch)
treeba0cde17b0de008691f339cdae1c4d19369a729c /pkgs/development/tools/misc/gengetopt/default.nix
parent50249cdaf29f872fb960dc9110696d208a77fc3a (diff)
parent4aad65bfdbc56be726873b09b4bbaa88448ecbba (diff)
downloadnixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar
nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.gz
nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.bz2
nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.lz
nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.xz
nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.tar.zst
nixlib-fecd99b105c644b1b61abfec6c203b304269e1e2.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/tools/misc/gengetopt/default.nix')
-rw-r--r--pkgs/development/tools/misc/gengetopt/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/gengetopt/default.nix b/pkgs/development/tools/misc/gengetopt/default.nix
index d24d4b66d66c..6420d56bba2f 100644
--- a/pkgs/development/tools/misc/gengetopt/default.nix
+++ b/pkgs/development/tools/misc/gengetopt/default.nix
@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
       'set +o posix'
   '';
 
+  env = lib.optionalAttrs stdenv.cc.isClang {
+    CXXFLAGS = "-std=c++14";
+  };
+
   meta = {
     description = "Command-line option parser generator";