1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Use libelfin from Debian and avoid downloading code.
Author: Petter Reinholdtsen <pere@debian.org>
Index: coz-profiler/libcoz/Makefile
===================================================================
--- coz-profiler.orig/libcoz/Makefile 2016-10-25 13:19:14.510139894 +0000
+++ coz-profiler/libcoz/Makefile 2016-10-25 13:19:14.506139844 +0000
@@ -2,7 +2,8 @@
TARGETS := libcoz.so
LIBS := dl rt pthread
CXXFLAGS := --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I.
+CXXFLAGS += $(shell pkg-config --cflags libelf++ libdwarf++)
+LDLIBS += $(shell pkg-config --libs libelf++ libdwarf++)
-PREREQS := $(ROOT)/deps/libelfin
include $(ROOT)/common.mk
|