nixpkgs/pkgs/tools
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
..
admin salt: fix patch after upstream code change 2016-12-23 12:29:35 +01:00
archivers Merge pull request #21231 from abbradar/no-fmod 2016-12-18 00:29:46 +03:00
audio beets: add missing dependency six, fixes #20946 2016-12-06 16:48:56 +01:00
backup duply: refactor allow builds on non linux 2016-12-26 15:04:40 -06:00
bluetooth blueman: use "with" expression for variable 2016-12-04 15:14:06 +01:00
bootloaders/refind refind: refactorings 2016-09-01 14:51:32 +02:00
cd-dvd nrg2iso: init at 0.4.0 2016-12-21 16:29:34 +02:00
compression pixz: refactor allow builds on non linux 2016-12-26 15:05:00 -06:00
filesystems ceph: mark as broken 2016-12-29 17:45:40 -05:00
graphics netbpm: tell config.mk where to find JPEGLIB and JPEGHDR_DIR or jpegtopnm and friends will not be built. 2016-12-28 13:48:50 -05:00
inputmethods ibus-engines.uniemoji: 2016-09-20 -> 0.6.0 2016-10-16 01:42:09 +03:00
misc man-db: make apropos search and not just behave like whatis 2016-12-30 16:58:06 +01:00
networking Strongswan: enable rdrand and aes-ni only on X86 2016-12-31 14:26:17 +01:00
package-management packagekit: add 'enableNixBackend' as an option (#21157) 2016-12-17 16:53:27 +01:00
security Merge pull request #21449 from namore/add_pkg_gorilla 2016-12-30 22:23:38 +00:00
system ior: init at 3.0.1 2016-12-16 23:12:42 +01:00
text codesearch: init at 20150617 2016-12-27 15:13:07 +01:00
typesetting rubber: use python2 2016-11-24 22:28:03 +01:00
video treewide: Fix more 'lib.optional' misuses 2016-10-02 00:44:10 +03:00
virtualization euca2ools: use python2 2016-11-24 22:28:02 +01:00
X11 ffcast: init at 2.5.0 (#21141) 2016-12-14 14:22:00 +00:00