nixpkgs/pkgs
Falco Peijnenburg 9c61571f1a Strongswan: enable rdrand and aes-ni only on X86
Strongswan fails to compile on armv7l-linux with `--enable-aesni` and  `--enable-rdrand` enabled. Errors are thrown about impossible constraints in asm (`--enable-rdrand`) or about gcc getting unknown command line parameters about aes (`--enable-aesni`). The options only makes sense on X86_64 processors.

The rdrand plugin is designed for Ivy Bridge processors:

> High quality / high performance random source using the Intel rdrand instruction found on Ivy Bridge processors

The aes-ni plugin also only exists on X86 processors (which have the AES instruction set)

Tested with a local override. The change triggers a (successful) rebuild on my X86_64 system. On armv7-linux this change fixes build errors.

See: 
https://wiki.strongswan.org/issues/337
2016-12-31 14:26:17 +01:00
..
applications lean: 2016-12-08 -> 2016-12-30 2016-12-31 13:51:10 +01:00
build-support Revert "releaseTools.debBuild: split checkinstall into separate phase" 2016-12-31 02:13:04 +04:00
data nerdfonts: 0.8.0 -> 1.0.0 2016-12-29 11:21:57 +01:00
desktops kde5.plasma: 5.8.4 -> 5.8.5 2016-12-28 06:43:10 -06:00
development Merge pull request #21539 from mdaiter/wxGTK30Mac 2016-12-31 14:11:58 +01:00
games Merge pull request #21483 from rardiol/freeorion 2016-12-30 22:14:35 +00:00
misc physlock: git-20150126 -> 0.5 2016-12-30 22:45:56 -05:00
os-specific googleAuthenticator: 1.0 -> 1.03 2016-12-30 06:49:17 -05:00
servers matrix-synapse: 0.18.5 -> 0.18.6-rc2 2016-12-30 12:42:22 -08:00
shells zsh: 5.3 -> 5.3.1 2016-12-21 21:21:59 +01:00
stdenv top-level: avoid another assert false while we're at it 2016-12-15 17:09:46 -05:00
test Remove cruft 2016-04-26 17:31:54 +02:00
tools Strongswan: enable rdrand and aes-ni only on X86 2016-12-31 14:26:17 +01:00
top-level Merge pull request #21539 from mdaiter/wxGTK30Mac 2016-12-31 14:11:58 +01:00