forked from pool/glibc
35b77f97b8
Copy from Base:System/glibc based on submit request 24314 from user pbaudis OBS-URL: https://build.opensuse.org/request/show/24314 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=13
27 lines
935 B
Diff
27 lines
935 B
Diff
Index: Makerules
|
|
===================================================================
|
|
--- Makerules.orig
|
|
+++ Makerules
|
|
@@ -349,7 +349,7 @@ endif # $(versioning) = yes
|
|
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)
|
|
Index: nscd/Makefile
|
|
===================================================================
|
|
--- nscd/Makefile.orig
|
|
+++ nscd/Makefile
|
|
@@ -123,6 +123,8 @@ CFLAGS-getsrvbynm_r.c += $(nscd-cflags)
|
|
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
|
|
|