Restrict debuginfod to Linux.

This commit is contained in:
Bartosz Taudul 2022-05-01 01:04:05 +02:00
parent 59a9dc80c4
commit 4f1af9deaa
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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