We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf1fe24 commit d4ecd89Copy full SHA for d4ecd89
build/makefile
@@ -13,7 +13,10 @@ ifeq ($(OS),Windows_NT)
13
PLATFORM_OPTS = -static
14
TBB_PLATFORM_OPTS = -DUSE_WINTHREAD
15
else
16
- LD_PLATFORM_OPTS = -lrt
+ UNAME_S := $(shell uname -s)
17
+ ifeq ($(UNAME_S),Linux)
18
+ LD_PLATFORM_OPTS = -lrt
19
+ endif
20
# -fsanitize=address seems to have a slow memory leak when creating/destroying a lot of threads
21
#DEBUG_OPTS += -fno-omit-frame-pointer -fsanitize=address
22
endif
0 commit comments