2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

Merge pull request #111 from commodo/fix-cflags

lib/util/Makefile.in: use host CFLAGS and CPPFLAGS for mksig{name,list}
This commit is contained in:
Todd C. Miller 2021-08-25 08:09:00 -06:00 committed by GitHub
commit 9980357a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,10 +233,10 @@ signame.c: mksigname
./mksigname > $@
mksiglist: $(srcdir)/mksiglist.c mksiglist.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
$(HOSTCC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksiglist.c -o $@
$(HOSTCC) $(HOSTCPPFLAGS) $(HOSTCFLAGS) $(srcdir)/mksiglist.c -o $@
mksigname: $(srcdir)/mksigname.c mksigname.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
$(HOSTCC) $(CPPFLAGS) $(CFLAGS) $(srcdir)/mksigname.c -o $@
$(HOSTCC) $(HOSTCPPFLAGS) $(HOSTCFLAGS) $(srcdir)/mksigname.c -o $@
$(srcdir)/sys_siglist.h: $(srcdir)/siglist.in
@if [ -n "$(DEVEL)" ]; then \