PKGBUILDs/core/klibc/klibc-fix-2.6.28-includes.patch

13 lines
651 B
Diff
Raw Normal View History

2009-09-26 14:35:50 +00:00
diff -Nur klibc-1.5.14.orig/scripts/Kbuild.klibc klibc-1.5.14/scripts/Kbuild.klibc
--- klibc-1.5.14.orig/scripts/Kbuild.klibc 2008-07-30 23:06:03.000000000 +0200
+++ klibc-1.5.14/scripts/Kbuild.klibc 2008-12-29 23:59:14.000000000 +0100
@@ -103,7 +103,7 @@
-I$(KLIBCINC)
# kernel include paths
KLIBCKERNELSRC ?= $(srctree)/
-KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)include \
+KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)include -I$(KLIBCKERNELSRC)arch/$(KLIBCARCHDIR)/include \
$(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)include2 -I$(KLIBCKERNELOBJ)include -I$(srctree)/include) \
$(KLIBCARCHINCFLAGS)