diff -urN policycoreutils-1.2.orig/load_policy/Makefile policycoreutils-1.2/load_policy/Makefile --- policycoreutils-1.2.orig/load_policy/Makefile 2003-08-27 11:07:11.000000000 -0500 +++ policycoreutils-1.2/load_policy/Makefile 2003-10-02 14:20:37.000000000 -0500 @@ -3,7 +3,7 @@ SBINDIR ?= $(PREFIX)/sbin LOCALEDIR ?= /usr/share/locale -CFLAGS = -Wall -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" +CFLAGS = -Wall $(EXTRA_CFLAGS) -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" LDLIBS += -lselinux # Build static so that we can put it on an initrd. diff -urN policycoreutils-1.2.orig/newrole/Makefile policycoreutils-1.2/newrole/Makefile --- policycoreutils-1.2.orig/newrole/Makefile 2003-08-27 11:07:12.000000000 -0500 +++ policycoreutils-1.2/newrole/Makefile 2003-10-02 14:21:03.000000000 -0500 @@ -5,7 +5,7 @@ ETCDIR ?= $(DESTDIR)/etc LOCALEDIR = /usr/share/locale -CFLAGS = -Wall -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" +CFLAGS = -Wall $(EXTRA_CFLAGS) -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" override CFLAGS += -DUSE_PAM LDLIBS += -lselinux -lattr -ldl -lpam -lpam_misc diff -urN policycoreutils-1.2.orig/run_init/Makefile policycoreutils-1.2/run_init/Makefile --- policycoreutils-1.2.orig/run_init/Makefile 2003-08-27 11:07:16.000000000 -0500 +++ policycoreutils-1.2/run_init/Makefile 2003-10-02 14:21:20.000000000 -0500 @@ -6,7 +6,7 @@ ETCDIR ?= $(DESTDIR)/etc LOCALEDIR ?= /usr/share/locale -CFLAGS = -Wall -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" +CFLAGS = -Wall $(EXTRA_CFLAGS) -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" override CFLAGS += -DUSE_PAM LDLIBS += -lselinux -lattr -ldl -lpam -lpam_misc diff -urN policycoreutils-1.2.orig/setfiles/Makefile policycoreutils-1.2/setfiles/Makefile --- policycoreutils-1.2.orig/setfiles/Makefile 2003-08-27 10:36:27.000000000 -0500 +++ policycoreutils-1.2/setfiles/Makefile 2003-10-02 14:21:37.000000000 -0500 @@ -3,7 +3,7 @@ SBINDIR ?= $(PREFIX)/sbin MANDIR = $(PREFIX)/share/man -CFLAGS = -Wall +CFLAGS = -Wall $(EXTRA_CFLAGS) override CFLAGS += -D_FILE_OFFSET_BITS=64 LDLIBS += -lselinux -lattr