void-packages/srcpkgs/sudo/patches/mksigname-for-host.patch

15 lines
738 B
Diff

--- lib/util/Makefile.in.orig 2015-07-17 07:53:22.343559193 +0200
+++ lib/util/Makefile.in 2015-07-17 07:53:47.419297775 +0200
@@ -160,10 +160,10 @@ signame.c: mksigname
./mksigname > $@
mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
- $(CC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksiglist.c -o $@
+ $(BUILD_CC) $(CPPFLAGS) $(BUILD_CFLAGS) $(srcdir)/mksiglist.c -o $@
mksigname: $(srcdir)/mksigname.c $(srcdir)/mksigname.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
- $(CC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksigname.c -o $@
+ $(BUILD_CC) $(CPPFLAGS) $(BUILD_CFLAGS) $(srcdir)/mksigname.c -o $@
$(srcdir)/mksiglist.h: $(srcdir)/siglist.in
@if [ -n "$(DEVEL)" ]; then \