mirror of https://gerrit.osmocom.org/libosmocore
build: use BUILT_SOURCES for the generated source files.
This avoids possible race conditions on heavily multi-core systems. Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
This commit is contained in:
parent
f5df9ab549
commit
a1ed2f0bb1
|
@ -17,6 +17,8 @@ libosmocore_la_SOURCES = timer.c select.c signal.c msgb.c bits.c \
|
|||
conv.c application.c rbtree.c \
|
||||
crc8gen.c crc16gen.c crc32gen.c crc64gen.c
|
||||
|
||||
BUILT_SOURCES = crc8gen.c crc16gen.c crc32gen.c crc64gen.c
|
||||
|
||||
if ENABLE_PLUGIN
|
||||
libosmocore_la_SOURCES += plugin.c
|
||||
libosmocore_la_LDFLAGS = -version-info $(LIBVERSION) $(LIBRARY_DL)
|
||||
|
|
Loading…
Reference in New Issue