81a00c7
diff -pruN rssh-2.3.4.orig/Makefile.in rssh-2.3.4/Makefile.in
81a00c7
--- rssh-2.3.4.orig/Makefile.in	2012-11-27 01:19:34.000000000 +0100
81a00c7
+++ rssh-2.3.4/Makefile.in	2012-11-28 18:21:03.154903684 +0100
81a00c7
@@ -727,10 +727,10 @@ uninstall-man: uninstall-man1 uninstall-
81a00c7
 
81a00c7
 
81a00c7
 .c.o:
81a00c7
-	$(CC) -c $(DEFS) $(ourdefs) $(AM_CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
81a00c7
+	$(CC) -c $(DEFS) $(ourdefs) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $<
81a00c7
 
81a00c7
 install-exec-hook:
81a00c7
-	chmod u+s $(libexecdir)/rssh_chroot_helper
81a00c7
+	chmod u+s $(DESTDIR)$(libexecdir)/rssh_chroot_helper
81a00c7
 
81a00c7
 rpm:	dist
81a00c7
 	rpmbuild -ta --sign $(base).tar.gz