mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Restrict debuginfod to Linux.
This commit is contained in:
parent
59a9dc80c4
commit
4f1af9deaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user