From 473c7b12bd109841766912a486824ec0a9e80ca5b7e6d3e7c2cd390120bd644b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 25 Jun 2018 13:16:01 +0000 Subject: [PATCH] fix duplicate cflag emission OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=24 --- libvmime.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libvmime.spec b/libvmime.spec index 47878b9..8421eef 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -113,8 +113,10 @@ cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1" -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \ -DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \ -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \ - -DCMAKE_CXX_FLAGS:STRING="$cf" \ - -DCMAKE_C_FLAGS:STRING="$cf" + -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \ + -DCMAKE_CXX_FLAGS:STRING=" " \ + -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \ + -DCMAKE_C_FLAGS:STRING=" " make %{?_smp_mflags} VERBOSE=1 %install