fix duplicate cflag emission

OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=24
This commit is contained in:
Jan Engelhardt 2018-06-25 13:16:01 +00:00 committed by Git OBS Bridge
parent 97dc3e0d87
commit 473c7b12bd

View File

@ -113,8 +113,10 @@ cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1"
-DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \ -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \ -DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \
-DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \ -DCMAKE_BUILD_TYPE:STRING="RelWithDebInfo" \
-DCMAKE_CXX_FLAGS:STRING="$cf" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_C_FLAGS:STRING="$cf" -DCMAKE_CXX_FLAGS:STRING=" " \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_C_FLAGS:STRING=" "
make %{?_smp_mflags} VERBOSE=1 make %{?_smp_mflags} VERBOSE=1
%install %install