]> git.pld-linux.org Git - packages/coq.git/blobdiff - coq.spec
- this version relies on fpmath=sse, so require sse2 on x86
[packages/coq.git] / coq.spec
index 06f6fe9fc4699d2aab15984ff3dad6c921fc35b3..a7e34f3fe6edc9df1b7db1a77c7cdd370e94cb2a 100644 (file)
--- a/coq.spec
+++ b/coq.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without ocaml_opt       # native optimized binaries (bytecode is always built)
-%bcond_with    sse2            # SSE2 instructions
+%bcond_without sse2            # SSE2 instructions (i387 maths not supported as of 8.15)
 %bcond_with    doc             # documentation
 %bcond_with    tests           # run testsuite (csdp dependant micromega tests fail badly on x86_64)
 #
@@ -131,8 +131,8 @@ Styl dokumentacji Coq dla LaTeXa.
 %patch0 -p1
 
 %{__sed} -i 's|-Wall.*-O2|%{rpmcflags} -Wno-unused|' tools/configure/configure.ml
-%if %{with sse2}
-%{__sed} -i -e '/cflags_sse2/ s/-msse2 -mfpmath=sse//' configure.ml
+%if %{without sse2}
+%{__sed} -i -e '/cflags_sse2/ s/-msse2 -mfpmath=sse//' tools/configure/configure.ml
 %endif
 %{__sed} -i 's,-shared,& -g,g' tools/CoqMakefile.in
 
This page took 0.048534 seconds and 4 git commands to generate.