xiaoxiang781216 commented on issue #342: Make.defs: Fix flock: failed to execute @: No such file or directory URL: https://github.com/apache/incubator-nuttx/pull/342#issuecomment-589480881 > I would at least like to understand why you doing this and if you have considered all possible alternatives Here is reason, to avoid the multiple thread write libapps.a, we need add flock around ARCHIVE like this: define ARLOCK $(Q) flock .arlock $(call ARCHIVE, $1, $(2)) endef @ symbol is normally parsed and removed by make before send to bash, but this just happen if @ is the first char, so @ symbol escape to bash in ARLOCK case(@ is in the middle of command),
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
