diff options
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/Trace.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/Trace.mk b/solenv/gbuild/Trace.mk index a92f842e1dec..d1cba301469e 100644 --- a/solenv/gbuild/Trace.mk +++ b/solenv/gbuild/Trace.mk @@ -37,7 +37,7 @@ ifneq ($(gb_TRACE),) gb_Trace_Timestamp := $(if $(filter MACOSX,$(OS)),$$(date +%s)000000000,$$(date +%s%N)) # macOS also doesn't provide flock, so skip that part on mac # The (flock;cat) part is to minimize lock time. -gb_Trace_Flock := $(if $(filter MACOSX,$(OS)),,| ( flock 1; cat )) +gb_Trace_Flock := $(if $(MSYSTEM)$(filter MACOSX,$(OS)),,| ( flock 1; cat )) # call gb_Trace_AddMark,marktype,detail,type,extra define gb_Trace__AddMark echo "{\"name\": \"$(3)\", \"ph\": \"$(1)\", \"pid\": 1, \"tid\": 1, \"ts\": $(gb_Trace_Timestamp),\"args\":{\"message\":\"[$(3)]: $(2)\"}}," $(gb_Trace_Flock) >>$(gb_TRACE) |