libubox: fix build on x86_64-darwin
This commit is contained in:
parent
bea584b44f
commit
e6d8df74a9
|
@ -22,6 +22,10 @@ stdenv.mkDerivation {
|
|||
done
|
||||
'';
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
|
||||
"-Wno-error=gnu-folding-constant"
|
||||
]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "C utility functions for OpenWrt";
|
||||
homepage = "https://git.openwrt.org/?p=project/libubox.git;a=summary";
|
||||
|
|
Loading…
Reference in New Issue
Block a user