mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
linux: Enable BPF_JIT only on 64-bit
It's not supported on i686. http://hydra.nixos.org/build/16834647
This commit is contained in:
parent
28abe40149
commit
e78a1603fc
@ -67,7 +67,7 @@ with stdenv.lib;
|
||||
# Networking options.
|
||||
IP_PNP n
|
||||
${optionalString (versionOlder version "3.13") ''
|
||||
IPV6_PRIVACY y
|
||||
IPV6_PRIVACY y
|
||||
''}
|
||||
NETFILTER_ADVANCED y
|
||||
IP_VS_PROTO_TCP y
|
||||
@ -77,7 +77,9 @@ with stdenv.lib;
|
||||
IP_DCCP_CCID3 n # experimental
|
||||
CLS_U32_PERF y
|
||||
CLS_U32_MARK y
|
||||
BPF_JIT y
|
||||
${optionalString (stdenv.system == "x86_64-linux") ''
|
||||
BPF_JIT y
|
||||
''}
|
||||
|
||||
# Wireless networking.
|
||||
CFG80211_WEXT? y # Without it, ipw2200 drivers don't build
|
||||
|
Loading…
Reference in New Issue
Block a user