File: 01-system-libelfin.patch

package info (click to toggle)
coz-profiler 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 11,040 kB
  • ctags: 2,459
  • sloc: cpp: 6,829; ansic: 1,810; makefile: 249; python: 105; sh: 72
file content (17 lines) | stat: -rw-r--r-- 674 bytes parent folder | download
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