|
|
31fad87 |
diff -up blender-2.49/config/linux2-config.py.org blender-2.49/config/linux2-config.py
|
|
|
31fad87 |
--- blender-2.49/config/linux2-config.py.org 2009-05-18 21:13:48.000000000 +0200
|
|
|
31fad87 |
+++ blender-2.49/config/linux2-config.py 2009-06-01 20:16:59.000000000 +0200
|
|
|
31fad87 |
@@ -181,6 +181,12 @@ CCFLAGS = ['-pipe','-fPIC','-funsigned-c
|
|
|
23d79f1 |
|
|
|
23d79f1 |
CPPFLAGS = ['-DXP_UNIX']
|
|
|
23d79f1 |
CXXFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing']
|
|
|
23d79f1 |
+
|
|
|
23d79f1 |
+import os
|
|
|
23d79f1 |
+RPM_OPT_FLAGS = os.environ['RPM_OPT_FLAGS'].split()
|
|
|
23d79f1 |
+CCFLAGS += RPM_OPT_FLAGS
|
|
|
23d79f1 |
+CXXFLAGS += RPM_OPT_FLAGS
|
|
|
23d79f1 |
+
|
|
|
23d79f1 |
REL_CFLAGS = ['-O2']
|
|
|
23d79f1 |
REL_CCFLAGS = ['-O2']
|
|
|
23d79f1 |
##BF_DEPEND = True
|
|
|
31fad87 |
diff -up blender-2.49/extern/SConscript.org blender-2.49/extern/SConscript
|
|
|
31fad87 |
--- blender-2.49/extern/SConscript.org 2009-02-26 15:21:17.000000000 +0100
|
|
|
31fad87 |
+++ blender-2.49/extern/SConscript 2009-06-01 20:20:48.000000000 +0200
|
|
|
3d4680d |
@@ -2,8 +2,6 @@
|
|
|
3d4680d |
|
|
|
3d4680d |
Import('env')
|
|
|
3d4680d |
|
|
|
3d4680d |
-SConscript(['glew/SConscript'])
|
|
|
3d4680d |
-
|
|
|
3d4680d |
if env['WITH_BF_GAMEENGINE']:
|
|
|
31fad87 |
if env['WITH_BF_SOLID']:
|
|
|
31fad87 |
SConscript(['qhull/SConscript', 'solid/SConscript'])
|
|
|
31fad87 |
diff -up blender-2.49/SConstruct.org blender-2.49/SConstruct
|
|
|
31fad87 |
--- blender-2.49/SConstruct.org 2009-04-21 21:06:24.000000000 +0200
|
|
|
31fad87 |
+++ blender-2.49/SConstruct 2009-06-01 20:18:42.000000000 +0200
|
|
|
31fad87 |
@@ -223,7 +223,7 @@ if env['OURPLATFORM'] == 'linux2' :
|
|
|
3d4680d |
|
|
|
31fad87 |
def CheckFreeAlut(context,env):
|
|
|
31fad87 |
context.Message( B.bc.OKGREEN + "Linux platform detected:\n checking for FreeAlut... " + B.bc.ENDC )
|
|
|
31fad87 |
- env['LIBS'] = 'alut'
|
|
|
31fad87 |
+ env['LIBS'] = 'alut, openal'
|
|
|
31fad87 |
result = context.TryLink(mylib_test_source_file, '.c')
|
|
|
31fad87 |
context.Result(result)
|
|
|
31fad87 |
return result
|