summaryrefslogtreecommitdiff
path: root/uts/debian/patches/uts-include-path.patch
blob: 1c1551d0e7818bd3913a9a51b6f01e0147ece41d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Make sure to find proper headers
 We've patched some headers, e. g. rename gssapi/gssapi.h
 to sys/gssapi.h, so make sure compiler can find it.
Index: b/usr/src/uts/Makefile.uts
===================================================================
--- a/usr/src/uts/Makefile.uts	2014-03-01 22:52:27.269848643 +0400
+++ b/usr/src/uts/Makefile.uts	2014-03-01 22:54:02.033070673 +0400
@@ -200,7 +200,7 @@
 #	the kernel code.  This "=" removes the search path built in
 #	Makefile.master inside CPPFLAGS.  Ditto for AS_CPPFLAGS.
 #
-CPPFLAGS	= $(ALWAYS_DEFS) $(ALL_DEFS) $(CONFIG_DEFS) \
+CPPFLAGS	= -I$(ROOT)/usr/include $(ALWAYS_DEFS) $(ALL_DEFS) $(CONFIG_DEFS) \
 		   $(INCLUDE_PATH) $(EXTRA_OPTIONS)
 ASFLAGS		+= -P
 AS_CPPFLAGS	= $(ALWAYS_DEFS) $(ALL_DEFS) $(CONFIG_DEFS) $(AS_DEFS) \