Source: candle
Version: 1.1.9-1
Severity: serious
Tags: ftbfs patch

https://buildd.debian.org/status/logs.php?pkg=candle&ver=1.1.9-1

...
c++: error: unrecognized command-line option ‘-msse3’
make[3]: *** [CMakeFiles/Candle.dir/build.make:151: 
CMakeFiles/Candle.dir/Candle_autogen/mocs_compilation.cpp.o] Error 1


There is no visible reason for the -msse3,
and it is no longer there in upstream master.

The attached patch therefore removes it.
Description: Don't build with -msse3
Author: Adrian Bunk <[email protected]>

--- candle-1.1.9.orig/src/CMakeLists.txt
+++ candle-1.1.9/src/CMakeLists.txt
@@ -9,7 +9,7 @@ set(CMAKE_AUTOMOC ON)
 # create code from a list of Qt designer ui files
 set(CMAKE_AUTOUIC ON)
 
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -W -msse3")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -W")
 
 if(APPLE)
     add_compile_definitions(Q_OS_MAC)

Reply via email to