]>
Commit | Line | Data |
---|---|---|
3f6b231b | 1 | diff -ur nv.orig/usr/src/nv/conftest.sh nv/usr/src/nv/conftest.sh |
2 | --- nv.orig/usr/src/nv/conftest.sh 2006-03-14 18:48:33.000000000 +0100 | |
3 | +++ nv/usr/src/nv/conftest.sh 2006-03-14 18:47:51.000000000 +0100 | |
4 | @@ -15,9 +15,11 @@ | |
5 | -nostdinc -isystem $ISYSTEM \ | |
6 | -Werror-implicit-function-declaration" | |
7 | ||
8 | + | |
9 | if [ "$OUTPUT" != "$SOURCES" ]; then | |
10 | + ARCH=`uname -m | sed -e 's/i.86/i386/'` | |
11 | CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \ | |
12 | --I$HEADERS -I$HEADERS/asm/mach-default" | |
13 | +-I$HEADERS -I$HEADERS/asm-$ARCH/mach-default" | |
14 | else | |
15 | CFLAGS="$CFLAGS -I$HEADERS -I$HEADERS/asm/mach-default" | |
16 | fi |