summary refs log tree commit diff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorArne Babenhauserheide <arne_bab@web.de>2023-05-20 23:45:43 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-24 10:41:33 +0300
commit6d3169af6431f32b699f48ab4648a1eb2b369727 (patch)
treec8921dc103d8ca3d191c4ce20efe51801d7ba4dc /gnu/packages/web.scm
parentb02e7504b0ad3a448125e12f7c832f24b2559550 (diff)
downloadguix-6d3169af6431f32b699f48ab4648a1eb2b369727.tar.gz
gnu: htmlcxx: add --std=c++11 to configure flags.
* gnu/packages/web.scm (htmlcxx): add CXXFLAGS to configure-flag. C++17
  removed dynamic exception specifications.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 9b153e86b2..3b3ea345cd 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -8248,6 +8248,9 @@ returned.")
        (sha256
         (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x"))))
     (build-system gnu-build-system)
+    (arguments
+     ;; ISO C++17 does not allow dynamic exception specifications
+     `(#:configure-flags '("CXXFLAGS=-std=c++11")))
     (home-page "https://htmlcxx.sourceforge.net/")
     (synopsis "Simple non-validating CSS1 and HTML parser for C++")
     (description "htmlcxx is a simple non-validating CSS1 and HTML parser for