2009-02-20 07:46:43 +00:00
committed by Git OBS Bridge
commit a51dfad3e2
76 changed files with 17636 additions and 0 deletions

22
glibc-selinux.diff Normal file
View File

@@ -0,0 +1,22 @@
--- Makerules
+++ Makerules
@@ -349,7 +349,7 @@
endif # sysd-sorted-done
# Generate .dT files as we compile.
-compile-mkdep-flags = -MD -MP -MF $@.dt -MT $@
+compile-mkdep-flags = -MD -MP -MF $@.dt -MT $@ -I/usr/include
compile-command.S = $(compile.S) $(OUTPUT_OPTION) $(compile-mkdep-flags)
compile-command.s = $(COMPILE.s) $< $(OUTPUT_OPTION) $(compile-mkdep-flags)
compile-command.c = $(compile.c) $(OUTPUT_OPTION) $(compile-mkdep-flags)
--- nscd/Makefile
+++ nscd/Makefile
@@ -124,6 +124,8 @@
CFLAGS-getsrvbypt_r.c += $(nscd-cflags)
CFLAGS-res_hconf.c += $(nscd-cflags)
+LDFLAGS = -lselinux
+
ifeq (yesyes,$(have-fpie)$(build-shared))
relro-LDFLAGS += -Wl,-z,now