File conftest.sh-generated_asm.diff of Package nvidia-gfx
--- conftest.sh 2012/03/07 12:31:30 1.1
+++ conftest.sh 2012/03/07 12:31:48
@@ -82,6 +82,9 @@
if [ "$OUTPUT" != "$SOURCES" ]; then
OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include"
+ if [ -d "$OUTPUT/arch/x86/include/generated/asm" ] ; then
+ OUTPUT_CFLAGS="$OUTPUT_CFLAGS -I$OUTPUT/arch/x86/include/generated"
+ fi
if [ -f "$OUTPUT/include/generated/autoconf.h" ]; then
AUTOCONF_CFLAGS="-include $OUTPUT/include/generated/autoconf.h"
else