diff options
author | Bartosz Taudul <wolf@nereid.pl> | 2022-05-01 02:04:05 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf@nereid.pl> | 2022-05-01 02:04:05 +0300 |
commit | 4f1af9deaa2a47c71e66d5048f77850813908ea0 (patch) | |
tree | cc6743bcb4f2599411582d08a8b254daba3cc698 /test/Makefile | |
parent | 59a9dc80c46c4d088e7d8b7664a1487487eead69 (diff) |
Restrict debuginfod to Linux.
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 9 |
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 |