1 diff -durN blender2.20-linux-glibc2.1.2-i386.orig/plugins/bmake blender2.20-linux-glibc2.1.2-i386/plugins/bmake
2 --- blender2.20-linux-glibc2.1.2-i386.orig/plugins/bmake Tue Aug 14 16:23:07 2001
3 +++ blender2.20-linux-glibc2.1.2-i386/plugins/bmake Sat Sep 1 18:24:24 2001
6 if ( test $UNAME = "IRIX64" -o $UNAME = "IRIX" ) then
8 - CFLAGS="-KPIC -O2 -mips3";
9 + CFLAGS="-KPIC -mips3";
13 elif ( test $UNAME = "FreeBSD" ) then
15 - CFLAGS="-fPIC -funsigned-char -O2";
16 + CFLAGS="-fPIC -funsigned-char";
19 LDFLAGS="-Bshareable";
20 elif ( test $UNAME = "OpenBSD" ) then
22 - CFLAGS="-fPIC -funsigned-char -O2";
23 + CFLAGS="-fPIC -funsigned-char";
26 LDFLAGS="-Bshareable";
27 elif ( test $UNAME = "Linux" ) then
29 - CFLAGS="-fPIC -funsigned-char -O2";
30 + CFLAGS="-fPIC -funsigned-char";
33 LDFLAGS="-Bshareable";
34 elif ( test $UNAME = "SunOS" ) then
43 +CFLAGS="$CFLAGS $OPTFLAGS"
44 if ( test "$#" = "1" ) then
45 if ( test -f $1 ) then
46 BASE_FILE=`echo $1 | sed -e "1 s/\.c//g"`;
49 elif ( test -f "../include/plugin.h" ) then
51 +elif ( test -f "/usr/X11R6/include/blender/plugin.h" ) then
52 + INCLUDES=-I/usr/X11R6/include/blender
54 echo "Couldn't find plugin.h";