freebsd-ports/sysutils/lttng-ust/files/patch-doc_examples_easy-ust_Makefile
Mahdi Mokhtari a8416c340c Adding sysutils/lttng-ust and sysutils/lttng-tools.
LTTng stands for Linux Trace Toolkit: next generation. It's a modern toolkit
for tracing Linux (And now FreeBSD, only userspace now) programs.

PR:		216142
Submitted by:	mmokhi
Reported by:	mmokhi
Reviewed by:	feld, mat
Approved by:	feld, mat (mentors)
Differential Revision:	https://reviews.freebsd.org/D9200
2017-02-11 15:36:17 +00:00

17 lines
417 B
Text

--- doc/examples/easy-ust/Makefile.orig 2016-08-08 21:25:36 UTC
+++ doc/examples/easy-ust/Makefile
@@ -16,12 +16,8 @@
#
# This makefile is purposefully kept simple to support GNU and BSD make.
-ifdef AM_CC
- CC = $(AM_CC)
-endif
-
-LIBS = -ldl -llttng-ust # On Linux
-#LIBS = -lc -llttng-ust # On BSD
+#LIBS = -ldl -llttng-ust # On Linux
+LIBS = -llttng-ust # On FreeBSD
LOCAL_CPPFLAGS += -I.
all: sample