Merge pull request #177 from ManuelMeraz-Forks/mmeraz/gcc10fix

This commit is contained in:
Emery Berger 2020-12-21 20:10:09 -05:00 committed by GitHub
commit f4d48fb409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

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