Branch: master

f0a220ae 2016-10-15 08:00:53 François Andriot
RPM packaging: fix k3b build with ffmpeg enabled
M redhat/applications/k3b/k3b-14.0.0.spec
diff --git a/redhat/applications/k3b/k3b-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec
index 4a4eee1..a83b551 100644
--- a/redhat/applications/k3b/k3b-14.0.0.spec
+++ b/redhat/applications/k3b/k3b-14.0.0.spec
@@ -430,7 +430,7 @@
 
 # FFMPEG trick ...
 if [ -d /usr/include/ffmpeg ]; then
-	export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
+	export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
 fi
 
 if ! rpm -E %%cmake|grep -q "cd build"; then