xercesc: disable SSE2 extension

Disable SSE2 extensions on platforms for which they are not enabled
by default. This does not disable sse2 extensions on systems for
which they are enabled by default, such as amd64.
This commit is contained in:
c0bw3b 2018-11-18 01:18:15 +01:00
parent 526ab5723a
commit 21b6635932

View File

@ -9,8 +9,12 @@ stdenv.mkDerivation rec {
sha256 = "04q4c460wqzyzmprjm22igcm1d52xr20ajxnhr33nv95mbw92qfx";
};
# Disable SSE2 extensions on platforms for which they are not enabled by default
configureFlags = [ "--disable-sse2" ];
enableParallelBuilding = true;
meta = {
homepage = http://xerces.apache.org/xerces-c/;
homepage = https://xerces.apache.org/xerces-c/;
description = "Validating XML parser written in a portable subset of C++";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;