On Fri, 2008-05-02 at 10:54 -0500, Raphael Geissert wrote: > debian/rules: > > gcc lockrun.c -o lockrun > Please don't do that, at least call gcc with CFLAGS: > > gcc $(CFLAGS) lockrun.c -o lockrun
Use the proper DEB_HOST_GNU_TYPE variable too so that the package can be cross-built (and use the cc symlink instead of gcc). ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CC=$(DEB_HOST_GNU_TYPE)-gcc else CC=cc endif $(CC) $(CFLAGS) lockrun.c -o lockrun -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
signature.asc
Description: This is a digitally signed message part