about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/nvidia-x11/generated.patch
blob: 6cf7a93c644518451f37568d1e5b3128a2342403 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff -pur 173.14.31/conftest.sh 173.14.31-3.3/conftest.sh
--- 173.14.31/conftest.sh	2011-07-18 09:49:58.000000000 +0400
+++ 173.14.31-3.3/conftest.sh	2012-04-09 19:33:34.407928432 +0400
@@ -123,7 +123,7 @@ build_cflags() {
     CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"
 
     if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
-        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
+        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated"
     fi
     if [ -n "$BUILD_PARAMS" ]; then
         CFLAGS="$CFLAGS -D$BUILD_PARAMS"