2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Don't use SSP_CFLAGS or PIE_CFLAGS when building mksiglist/mksigname

as they are built with the host compiler which may be different
when cross-compiling.  From Gustavo Zacarias.  Bug 662.
This commit is contained in:
Todd C. Miller 2014-09-20 06:46:27 -06:00
parent ae137ba557
commit f5647654dd
2 changed files with 5 additions and 2 deletions

3
NEWS
View File

@ -77,6 +77,9 @@ What's new in Sudo 1.8.11
* Fixed a hang when a sudoers source is listed more than once in
a single sudoers nsswitch.conf entry.
* Fixed a cross-compilation problem building mksiglist and mksigname.
Bug #662
What's new in Sudo 1.8.10p3?
* Fixed expansion of %p in the prompt for "sudo -l" when rootpw,

View File

@ -143,10 +143,10 @@ signame.c: mksigname
./mksigname > $@
mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/mksiglist.c -o $@
$(CC) $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mksiglist.c -o $@
mksigname: $(srcdir)/mksigname.c $(srcdir)/mksigname.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(DEFS) $(srcdir)/mksigname.c -o $@
$(CC) $(CPPFLAGS) $(CFLAGS) $(DEFS) $(srcdir)/mksigname.c -o $@
$(srcdir)/mksiglist.h: $(srcdir)/siglist.in
@if [ -n "$(DEVEL)" ]; then \