mirror of
https://github.com/cameron314/concurrentqueue.git
synced 2026-01-18 06:11:16 +01:00
Unlock ability to build benchmarks on OSX
This commit is contained in:
@@ -13,7 +13,10 @@ ifeq ($(OS),Windows_NT)
|
||||
PLATFORM_OPTS = -static
|
||||
TBB_PLATFORM_OPTS = -DUSE_WINTHREAD
|
||||
else
|
||||
LD_PLATFORM_OPTS = -lrt
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
LD_PLATFORM_OPTS = -lrt
|
||||
endif
|
||||
# -fsanitize=address seems to have a slow memory leak when creating/destroying a lot of threads
|
||||
#DEBUG_OPTS += -fno-omit-frame-pointer -fsanitize=address
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user