From 3fa29ae88b68c55b3adde3255cfbbc60d03b25c5f5105e4d117cb8e3bda8e93c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Wed, 12 Oct 2016 18:05:28 +0000 Subject: [PATCH] Accepting request 434569 from home:StefanBruens:branches:electronics Regression workaround for GCC 6.2.1 OBS-URL: https://build.opensuse.org/request/show/434569 OBS-URL: https://build.opensuse.org/package/show/electronics/pulseview?expand=0&rev=6 --- pulseview.changes | 6 ++++++ pulseview.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pulseview.changes b/pulseview.changes index 9ac9dab..1c10f18 100644 --- a/pulseview.changes +++ b/pulseview.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 11 23:29:37 UTC 2016 - stefan.bruens@rwth-aachen.de + +- Add -fext-numeric-literals compiler flag as workaround for + boo#1004168 + ------------------------------------------------------------------- Sat Jan 30 12:31:29 UTC 2016 - stefan.bruens@rwth-aachen.de diff --git a/pulseview.spec b/pulseview.spec index 57fea30..336f679 100644 --- a/pulseview.spec +++ b/pulseview.spec @@ -49,7 +49,8 @@ PulseView is a Qt-based GUI for sigrok. %setup -q %build -export CXXFLAGS="%{optflags} -fpermissive" +# -fext-numeric-literal is a workaround for boo#1004168, remove when fixed +export CXXFLAGS="%{optflags} -fpermissive -fext-numeric-literals" %cmake -DDISABLE_WERROR=TRUE .. make %{?_smp_mflags}