Merge pull request #224894 from amjoseph-nixpkgs/pr/openocd/enableParallelBuilding

openocd: enableParallelBuilding=true
This commit is contained in:
Pavol Rusnak 2023-04-06 15:58:33 +02:00 committed by GitHub
commit a04e5d9d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
map (hardware: "--enable-${hardware}") extraHardwareSupport
;
enableParallelBuilding = true;
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isGNU [
"-Wno-error=cpp"
"-Wno-error=strict-prototypes" # fixes build failure with hidapi 0.10.0