mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 13:58:05 +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:
3
NEWS
3
NEWS
@@ -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
|
* Fixed a hang when a sudoers source is listed more than once in
|
||||||
a single sudoers nsswitch.conf entry.
|
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?
|
What's new in Sudo 1.8.10p3?
|
||||||
|
|
||||||
* Fixed expansion of %p in the prompt for "sudo -l" when rootpw,
|
* Fixed expansion of %p in the prompt for "sudo -l" when rootpw,
|
||||||
|
@@ -143,10 +143,10 @@ signame.c: mksigname
|
|||||||
./mksigname > $@
|
./mksigname > $@
|
||||||
|
|
||||||
mksiglist: $(srcdir)/mksiglist.c $(srcdir)/mksiglist.h $(incdir)/sudo_compat.h $(top_builddir)/config.h
|
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
|
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
|
$(srcdir)/mksiglist.h: $(srcdir)/siglist.in
|
||||||
@if [ -n "$(DEVEL)" ]; then \
|
@if [ -n "$(DEVEL)" ]; then \
|
||||||
|
Reference in New Issue
Block a user