mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 15:34:36 +00:00
Restrict debuginfod to Linux.
This commit is contained in:
parent
59a9dc80c4
commit
4f1af9deaa
@ -1,10 +1,10 @@
|
|||||||
OPTFLAGS := -g3 -fmerge-constants
|
OPTFLAGS := -g3 -fmerge-constants
|
||||||
TRACYFLAGS := -DTRACY_DEBUGINFOD
|
TRACYFLAGS :=
|
||||||
CFLAGS := $(OPTFLAGS) -Wall -DTRACY_ENABLE $(TRACYFLAGS)
|
CFLAGS := $(OPTFLAGS) -Wall -DTRACY_ENABLE $(TRACYFLAGS)
|
||||||
CXXFLAGS := $(CFLAGS) -std=gnu++11
|
CXXFLAGS := $(CFLAGS) -std=gnu++11
|
||||||
DEFINES +=
|
DEFINES +=
|
||||||
INCLUDES :=
|
INCLUDES :=
|
||||||
LIBS := -lpthread -ldl -ldebuginfod
|
LIBS := -lpthread -ldl
|
||||||
LDFLAGS := -rdynamic
|
LDFLAGS := -rdynamic
|
||||||
IMAGE := tracy_test
|
IMAGE := tracy_test
|
||||||
|
|
||||||
@ -18,6 +18,11 @@ ifeq ($(shell uname -o),FreeBSD)
|
|||||||
LIBS += -lexecinfo
|
LIBS += -lexecinfo
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(shell uname),Linux)
|
||||||
|
TRACYFLAGS += -DTRACY_DEBUGINFOD
|
||||||
|
LIBS += -ldebuginfod
|
||||||
|
endif
|
||||||
|
|
||||||
all: $(IMAGE)
|
all: $(IMAGE)
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
|
Loading…
Reference in New Issue
Block a user