]> git.pld-linux.org Git - packages/ClanLib.git/blob - really-disable-sse2.patch
- sse2 is not quite getting disable with --disable-sse2
[packages/ClanLib.git] / really-disable-sse2.patch
1 --- ClanLib-3.0.0/configure.ac~ 2013-11-05 19:52:09.000000000 +0100
2 +++ ClanLib-3.0.0/configure.ac  2013-11-05 20:42:25.891716845 +0100
3 @@ -222,6 +222,7 @@
4                 AC_MSG_RESULT([enabled])
5                 use_sse2=yes
6         else
7 +               AC_DEFINE(DISABLE_SSE2)
8                 AC_DEFINE(CL_DISABLE_SSE2)
9                 AC_MSG_RESULT([disabled])
10         fi
11 @@ -234,6 +235,7 @@
12                 use_sse2=yes
13         else
14                 AC_MSG_WARN( [ *** Compliler does not support SSE2 ])
15 +               AC_DEFINE(DISABLE_SSE2)
16                 AC_DEFINE(CL_DISABLE_SSE2)
17                 AC_MSG_RESULT([disabled])
18         fi
19 @@ -248,7 +250,7 @@
20  
21         extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -msse2"
22  else
23 -       extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -DCL_DISABLE_SSE2"
24 +       extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -DCL_DISABLE_SSE2 -DDISABLE_SSE2"
25  fi
26  extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=c++0x"
27  
This page took 0.061284 seconds and 4 git commands to generate.