Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Taudul <wolf@nereid.pl>2022-05-01 02:04:05 +0300
committerBartosz Taudul <wolf@nereid.pl>2022-05-01 02:04:05 +0300
commit4f1af9deaa2a47c71e66d5048f77850813908ea0 (patch)
treecc6743bcb4f2599411582d08a8b254daba3cc698 /test/Makefile
parent59a9dc80c46c4d088e7d8b7664a1487487eead69 (diff)
Restrict debuginfod to Linux.
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 53c10b22..500514d5 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,10 +1,10 @@
OPTFLAGS := -g3 -fmerge-constants
-TRACYFLAGS := -DTRACY_DEBUGINFOD
+TRACYFLAGS :=
CFLAGS := $(OPTFLAGS) -Wall -DTRACY_ENABLE $(TRACYFLAGS)
CXXFLAGS := $(CFLAGS) -std=gnu++11
DEFINES +=
INCLUDES :=
-LIBS := -lpthread -ldl -ldebuginfod
+LIBS := -lpthread -ldl
LDFLAGS := -rdynamic
IMAGE := tracy_test
@@ -18,6 +18,11 @@ ifeq ($(shell uname -o),FreeBSD)
LIBS += -lexecinfo
endif
+ifeq ($(shell uname),Linux)
+TRACYFLAGS += -DTRACY_DEBUGINFOD
+LIBS += -ldebuginfod
+endif
+
all: $(IMAGE)
%.o: %.cpp