Package: sumo / 0.28.0+dfsg1-1

40_drop_some_buildflags.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: drop msse2 buildfpags, unsupported by some platforms
Author: Anton Gladky <gladk@debian.org>
Last-Update: 2015-04-20

Index: sumo-0.28.0/configure.ac
===================================================================
--- sumo-0.28.0.orig/configure.ac
+++ sumo-0.28.0/configure.ac
@@ -125,11 +125,6 @@ dnl - - - - - - - - - - - - - - - - - -
 case "$host" in
    x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux*)
 dnl Make sure we are on architecture that supports SIMD
-   if test x$CXX = xclang++; then
-       CXXFLAGS="-msse2 $CXXFLAGS"
-   else
-       CXXFLAGS="-msse2 -mfpmath=sse $CXXFLAGS"
-   fi
    ;;
    *-cygwin*)
    AC_DEFINE([HAVE_CYGWIN], [1], [Define if compiling under cygwin])