--- doc/examples/gen-tp/Makefile.orig	2016-08-08 21:25:36 UTC
+++ doc/examples/gen-tp/Makefile
@@ -17,12 +17,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
 
 all: sample
 
