Commit Diff


commit - ca6fcbdce0110845f1195d2d1f5a14ed52a45baf
commit + 41f13ea5f1c5014b2868a2d6165f377fb3df8ce1
blob - 82af7ac31f556849d0d60cf77d5570d2d911e6b4
blob + 4a7f3a9755f5de48cb8254d3252c212fefea85b7
--- diff/Makefile
+++ diff/Makefile
@@ -20,10 +20,10 @@ CPPFLAGS = -I${.CURDIR}/../include -I${.CURDIR}/../lib
 #CPPFLAGS += -DDIFF_NO_MMAP
 
 .if defined(PROFILE)
-CFLAGS = -pg
-LDADD = -pg -lutil_p -lz_p -lc_p
+CFLAGS = -O0 -pg -g
+LDFLAGS = -pg -lc_p -lutil_p -lz_p -static
 .else
-LDADD = -lutil -lz
+LDFLAGS = -lutil -lz
 .endif
 
 .if ${DIFF_RELEASE} != "Yes"