diff -Naur proftpd-1.3.1.orig/lib/libcap/Makefile proftpd-1.3.1/lib/libcap/Makefile
--- proftpd-1.3.1.orig/lib/libcap/Makefile	2008-01-22 09:37:04.000000000 -0500
+++ proftpd-1.3.1/lib/libcap/Makefile	2008-01-22 09:41:58.000000000 -0500
@@ -26,7 +26,7 @@
 all: $(LIBNAME)
 
 _makenames: _makenames.c cap_names.sed
-	$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
+	$(HOSTCC) $< -o $@
 
 cap_names.h: _makenames
 	./_makenames > cap_names.h
diff -Naur proftpd-1.3.1.orig/Make.rules.in proftpd-1.3.1/Make.rules.in
--- proftpd-1.3.1.orig/Make.rules.in	2008-01-22 09:37:04.000000000 -0500
+++ proftpd-1.3.1/Make.rules.in	2008-01-22 09:38:24.000000000 -0500
@@ -25,8 +25,8 @@
 INSTALL=@INSTALL@
 INSTALL_USER=@install_user@
 INSTALL_GROUP=@install_group@
-INSTALL_BIN=$(INSTALL) @INSTALL_STRIP@ -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
-INSTALL_SBIN=$(INSTALL) @INSTALL_STRIP@ -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
+INSTALL_BIN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
+INSTALL_SBIN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755
 INSTALL_MAN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644
 
 RM=rm -f
