[packages/aufs-util] try uapi headers. no success

glen glen at pld-linux.org
Sat Jun 18 11:46:33 CEST 2016


commit 2e214b4a2651a046bab6c38380777e89d6d9ebcd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Jun 18 12:46:29 2016 +0300

    try uapi headers. no success

 aufs-util.spec | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/aufs-util.spec b/aufs-util.spec
index 0a9b230..826d631 100644
--- a/aufs-util.spec
+++ b/aufs-util.spec
@@ -22,8 +22,17 @@ Utilities are always necessary for aufs
 %patch0 -p1
 
 %build
+inc=""
+inc="$inc -I%{_kernelsrcdir}/arch/x86/include/generated/uapi"
+inc="$inc -I%{_kernelsrcdir}/arch/x86/include/uapi"
+inc="$inc -I%{_kernelsrcdir}/include/generated/uapi"
+inc="$inc -I%{_kernelsrcdir}/include/uapi"
+inc="$inc -I%{_kernelsrcdir}/include"
+
 %{__make} \
 	CC="%{__cc}" \
+	CFLAGS="-Wall %{rpmcppflags} %{rpmcppflags} $inc" \
+	INSTALL="install -p" \
 	LIBDIR=%{_libdir}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aufs-util.git/commitdiff/2e214b4a2651a046bab6c38380777e89d6d9ebcd



More information about the pld-cvs-commit mailing list