-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7vrNsACgkQrlYvE4MpobNXTACfZVlrcVPWxcKT+I0IAKVxcZvx 6kEAoIkkTho5vyFTuDurqL6BOUV5b5S7 =+L5I -----END PGP SIGNATURE-----
>From 03b33c22a93a2edb8338a3ee1f2c97dd8abb637a Mon Sep 17 00:00:00 2001 From: Dan Walsh <dwalsh@xxxxxxxxxx> Date: Mon, 5 Dec 2011 14:05:39 -0500 Subject: [PATCH 22/25] policycoreutils: Fix Makefile to match other policycoreutils Makefiles Include -W Set LDLIBS consistently (include -L$(LIBDIR)) Don't explicitly call $(CC) let make do it. Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- policycoreutils/sandbox/Makefile | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/policycoreutils/sandbox/Makefile b/policycoreutils/sandbox/Makefile index 7789d23..b817364 100644 --- a/policycoreutils/sandbox/Makefile +++ b/policycoreutils/sandbox/Makefile @@ -8,13 +8,13 @@ SBINDIR ?= $(PREFIX)/sbin MANDIR ?= $(PREFIX)/share/man LOCALEDIR ?= /usr/share/locale SHAREDIR ?= $(PREFIX)/share/sandbox -override CFLAGS += $(LDFLAGS) -I$(PREFIX)/include -DPACKAGE="\"policycoreutils\"" -Wall -Werror -Wextra -LDLIBS += -lcgroup -lselinux -lcap-ng +override CFLAGS += $(LDFLAGS) -I$(PREFIX)/include -DPACKAGE="\"policycoreutils\"" -Wall -Werror -Wextra -W +LDLIBS += -lcgroup -lselinux -lcap-ng -L$(LIBDIR) +SEUNSHARE_OBJS = seunshare.o all: sandbox seunshare sandboxX.sh start -seunshare: seunshare.o $(EXTRA_OBJS) - $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) -L$(LIBDIR) +seunshare: $(SEUNSHARE_OBJS) install: all -mkdir -p $(BINDIR) -- 1.7.8