From d5e84a533c0c6d5b92ea21ee5ba09b49b110dee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 30 Aug 2018 14:01:04 +0200 Subject: [PATCH] Add --with-cxxflags configuration for %gem_install macro. https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/3LTI2MQVBFNNLGLLA5JTYPNAFP7SQGAI/ --- macros.rubygems | 2 +- ruby.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/macros.rubygems b/macros.rubygems index d2e8514..532ea6c 100644 --- a/macros.rubygems +++ b/macros.rubygems @@ -21,7 +21,7 @@ %gem_install(d:n:) \ mkdir -p %{-d*}%{!?-d:.%{gem_dir}} \ \ -CONFIGURE_ARGS="--with-cflags='%{optflags}' $CONFIGURE_ARGS" \\\ +CONFIGURE_ARGS="--with-cflags='%{optflags}' --with-cxxflags='%{optflags}' $CONFIGURE_ARGS" \\\ gem install \\\ -V \\\ --local \\\ diff --git a/ruby.spec b/ruby.spec index 81cb294..f294e77 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1105,6 +1105,7 @@ make check TESTS="-v $DISABLE_TESTS" %changelog * Wed Aug 29 2018 Vít Ondruch - 2.5.1-99 - Additional OpenSSL 1.1.1 fixes. +- Add --with-cxxflags configuration for %%gem_install macro. * Tue Aug 28 2018 Jun Aruga - 2.5.1-99 - Fix generated rdoc template issues.