NetworkBlockDevice / nbd

Network Block Device
GNU General Public License v2.0
450 stars 116 forks source link

Avoid sporadic race condition due to parallel make #141

Closed jan-krieg closed 1 year ago

jan-krieg commented 1 year ago

nbdtab_lexer.l includes nbdtab_parser.tab.h, which in turn is dynamically generated during the build from nbdtab_parser.y. Specifying nbdtab_parser.tab.h in BUILT_SOURCES avoids a potential race condition where parallel make can fail if nbdtab_lexer.l is processed before nbdtab_parser.tab.h has been created.

Fixes: #140