]>
Commit | Line | Data |
---|---|---|
15a4ee54 | 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 | |
4 | @@ -5,36 +5,36 @@ | |
90e53680 | 5 | UNAME=`uname` |
15a4ee54 | 6 | if ( test $UNAME = "IRIX64" -o $UNAME = "IRIX" ) then |
90e53680 | 7 | CC="cc"; |
15a4ee54 | 8 | - CFLAGS="-KPIC -O2 -mips3"; |
9 | + CFLAGS="-KPIC -mips3"; | |
90e53680 JK |
10 | |
11 | LD="ld"; | |
15a4ee54 | 12 | LDFLAGS="-shared -U"; |
90e53680 JK |
13 | elif ( test $UNAME = "FreeBSD" ) then |
14 | CC="gcc"; | |
15 | - CFLAGS="-fPIC -funsigned-char -O2"; | |
16 | + CFLAGS="-fPIC -funsigned-char"; | |
17 | ||
18 | LD="ld"; | |
19 | LDFLAGS="-Bshareable"; | |
20 | elif ( test $UNAME = "OpenBSD" ) then | |
21 | CC="gcc"; | |
22 | - CFLAGS="-fPIC -funsigned-char -O2"; | |
23 | + CFLAGS="-fPIC -funsigned-char"; | |
24 | ||
25 | LD="ld"; | |
26 | LDFLAGS="-Bshareable"; | |
27 | elif ( test $UNAME = "Linux" ) then | |
28 | CC="gcc"; | |
29 | - CFLAGS="-fPIC -funsigned-char -O2"; | |
30 | + CFLAGS="-fPIC -funsigned-char"; | |
31 | ||
32 | LD="ld"; | |
33 | LDFLAGS="-Bshareable"; | |
34 | elif ( test $UNAME = "SunOS" ) then | |
35 | CC="cc"; | |
36 | - CFLAGS="-O2"; | |
37 | + CFLAGS=""; | |
38 | ||
39 | LD="ld"; | |
40 | LDFLAGS="-r"; | |
41 | fi | |
15a4ee54 | 42 | - |
90e53680 | 43 | +CFLAGS="$CFLAGS $OPTFLAGS" |
90e53680 JK |
44 | if ( test "$#" = "1" ) then |
45 | if ( test -f $1 ) then | |
15a4ee54 | 46 | BASE_FILE=`echo $1 | sed -e "1 s/\.c//g"`; |
47 | @@ -66,6 +66,8 @@ | |
90e53680 JK |
48 | INCLUDES=-I..; |
49 | elif ( test -f "../include/plugin.h" ) then | |
50 | INCLUDES=-I../include | |
51 | +elif ( test -f "/usr/X11R6/include/blender/plugin.h" ) then | |
15a4ee54 | 52 | + INCLUDES=-I/usr/X11R6/include/blender |
90e53680 JK |
53 | else |
54 | echo "Couldn't find plugin.h"; | |
55 | exit; |