mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
cbqn: make REPLXX flag explicit
Makefile target o3n-singeli enables REPLXX by default, we want to adhere the enableReplxx variable.
This commit is contained in:
parent
afea6a0e86
commit
53875c54da
@ -50,12 +50,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
]
|
||||
++ lib.optional enableReplxx "REPLXX=1";
|
||||
];
|
||||
|
||||
buildFlags = [
|
||||
# interpreter binary
|
||||
(lib.flatten (if enableSingeli then ["o3n-singeli" "f='-mavx2'"] else ["o3"]))
|
||||
"REPLXX=${if enableReplxx then "1" else "0"}"
|
||||
] ++ lib.optionals enableLibcbqn [
|
||||
# embeddable interpreter as a shared lib
|
||||
"shared-o3"
|
||||
|
Loading…
Reference in New Issue
Block a user