libpcap: fix build breakage with very high number of simultaneous jobs
authorPetr Štetiar <ynezz@true.cz>
Sat, 25 Apr 2020 11:59:19 +0000 (13:59 +0200)
committerRISCi_ATOM <Bob@bobcall.me>
Tue, 28 Apr 2020 17:19:10 +0000 (13:19 -0400)
commit3868b2cbb707276718c97f6dade1254e07690e9e
tree9e9ed726a6204034fe7456648737da6f555ca92f
parentb3b306686dac4bf32db4769d17ea481afbe03d41
libpcap: fix build breakage with very high number of simultaneous jobs

Building libpcap with high number (64) of simultaneous jobs fails:

 In file included from ./fmtutils.c:42:0:
 ./ftmacros.h:106:0: warning: "_BSD_SOURCE" redefined
   #define _BSD_SOURCE

 <command-line>:0:0: note: this is the location of the previous definition
 ./gencode.c:67:10: fatal error: grammar.h: No such file or directory
  #include "grammar.h"
           ^~~~~~~~~~~
 compilation terminated.
 Makefile:99: recipe for target 'gencode_pic.o' failed

So fix this by less intrusive way by disabling the parallel builds for
this package.

Ref: FS#3010
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/libs/libpcap/Makefile