mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
devel/distorm: fix concurrent building
For a reason I can't figure out, the "clean" target was being called simultaneously with the build target resulting in a possibility of deleting object files after they are built but before they are linked to make a library. The solution is to remove the "clean" target since it really serves no purpose in the ports framework (the work area starts clean). While here, join compound commands with "&&" rather than ";"
This commit is contained in:
parent
d5da7618ac
commit
0cb8a7439c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420960
@ -73,10 +73,10 @@ post-install:
|
||||
|
||||
.else
|
||||
do-build:
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
|
||||
@(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
EXTRAFLAGS="${PICFLAG} -DDISTORM_DYNAMIC" ${MAKE} ${_MAKE_JOBS} \
|
||||
${MAKE_ARGS} clib clean)
|
||||
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
|
||||
${MAKE_ARGS} clib)
|
||||
@(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
||||
EXTRAFLAGS="-DDISTORM_STATIC" ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} staticlib)
|
||||
${CC} ${CFLAGS} ${LDFLAGS} -o ${BUILD_WRKSRC}/disasm \
|
||||
${WRKSRC}/examples/linux/main.c ${BUILD_WRKSRC}/libdistorm3.a
|
||||
|
Loading…
Reference in New Issue
Block a user