- honour global CFLAGS and LDFLAGS when compiling sesh, to avoid rpmlint error (bnc#743157) OBS-URL: https://build.opensuse.org/request/show/101520 OBS-URL: https://build.opensuse.org/package/show/Base:System/sudo?expand=0&rev=34
14 lines
475 B
Diff
14 lines
475 B
Diff
Index: sudo-1.8.3p1/src/Makefile.in
|
|
===================================================================
|
|
--- sudo-1.8.3p1.orig/src/Makefile.in 2011-10-21 15:01:26.000000000 +0200
|
|
+++ sudo-1.8.3p1/src/Makefile.in 2012-01-25 16:02:52.488970711 +0100
|
|
@@ -101,7 +101,7 @@
|
|
$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) $(LTLDFLAGS) -o $@ sudo_noexec.lo -avoid-version -rpath $(noexecdir)
|
|
|
|
sesh: sesh.o
|
|
- $(CC) -o $@ sesh.o
|
|
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ sesh.o
|
|
|
|
pre-install:
|
|
|