From 03651b779b17cd8f5fc4111dd6b8458e5c1b9227 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 11 Dec 2020 14:22:10 -0700 Subject: [PATCH] Force C++14 for configure step too --- ppc64-diag.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ppc64-diag.spec b/ppc64-diag.spec index 52a7df7..c459efc 100644 --- a/ppc64-diag.spec +++ b/ppc64-diag.spec @@ -1,6 +1,6 @@ Name: ppc64-diag Version: 2.7.6 -Release: 7%{?dist} +Release: 8%{?dist} Summary: PowerLinux Platform Diagnostics URL: https://github.com/power-ras/%{name} License: GPLv2 @@ -59,7 +59,7 @@ This package contains only rtas_errd daemon. %build ./autogen.sh -%configure +CXXFLAGS="-std=gnu++14 %{build_cflags}" %configure LDFLAGS="%{build_ldflags}" CFLAGS="%{build_cflags}" CXXFLAGS="-std=gnu++14 %{build_cflags}" make %{?_smp_mflags} V=1 %install @@ -169,6 +169,9 @@ if [ "$1" = "0" ]; then # last uninstall fi %changelog +* Tue Oct 27 2020 Jeff Law - 2.7.6-8 +- Force C++14 for configure step too + * Tue Oct 27 2020 Jeff Law - 2.7.6-7 - Force C++14 mode as this code is not C++17 ready