diff --git a/benchmarks/histogram/Makefile b/benchmarks/histogram/Makefile index ef0e61c..d30838e 100644 --- a/benchmarks/histogram/Makefile +++ b/benchmarks/histogram/Makefile @@ -1,7 +1,7 @@ ROOT := ../.. TARGETS := histogram -LIBS := -lpthread -CFLAGS := -g -O2 +LIBS := -lpthread -Wl,--no-as-needed -ldl +CFLAGS := -g -O2 -gdwarf-3 include $(ROOT)/benchmark.mk diff --git a/libcoz/Makefile b/libcoz/Makefile index 0a2bbf9..4647fd2 100644 --- a/libcoz/Makefile +++ b/libcoz/Makefile @@ -1,7 +1,7 @@ ROOT := .. TARGETS := libcoz.so LIBS := -ldl -lrt -lpthread $(shell pkg-config --libs libelf++ libdwarf++) -CXXFLAGS := --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I. \ +CXXFLAGS := -gdwarf-3 --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I. \ $(shell pkg-config --cflags libelf++ libdwarf++) include $(ROOT)/common.mk