Lines 188-195
Link Here
|
188 |
include_dirs += [ ' ../libraries/' + system_str + '/include/glib-2.0'] |
188 |
include_dirs += [ ' ../libraries/' + system_str + '/include/glib-2.0'] |
189 |
include_dirs += [ ' ../libraries/' + system_str + '/include/pango-1.0' ] |
189 |
include_dirs += [ ' ../libraries/' + system_str + '/include/pango-1.0' ] |
190 |
include_dirs += [ ' ../libraries/' + system_str + '/include/atk-1.0' ] |
190 |
include_dirs += [ ' ../libraries/' + system_str + '/include/atk-1.0' ] |
191 |
include_dirs += [ ' ../libraries/' + system_str + '/include/ELFIO' ] |
191 |
include_dirs += [ '../libraries/' + system_str + '/include/ELFIO' ] |
192 |
include_dirs += [ ' ../libraries/' + system_str + '/include/llfreetype2' ] |
192 |
include_dirs += [ ' ../libraries/' + system_str + '/include/llfreetype2' ] |
|
|
193 |
pipe = os.popen('pkg-config gtk+-2.0 --cflags') |
194 |
flags += pipe.read().rstrip('\n') + ' ' |
195 |
pipe.close() |
196 |
pipe = os.popen('freetype-config --cflags') |
197 |
flags += pipe.read().rstrip('\n') + ' ' |
198 |
pipe.close() |
193 |
else: |
199 |
else: |
194 |
# Mac-only flags |
200 |
# Mac-only flags |
195 |
flags += '-x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -faltivec -fasm-blocks -g -O2 -fmessage-length=0 -mtune=G4 -Wno-deprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.3 -DLL_DARWIN=1 -Wmost -Wno-sign-compare -Wno-switch -fpch-preprocess -F./newview/build/Deployment -fconstant-cfstrings -ffor-scope -Wno-reorder -isysroot /Developer/SDKs/MacOSX10.3.9.sdk ' |
201 |
flags += '-x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -faltivec -fasm-blocks -g -O2 -fmessage-length=0 -mtune=G4 -Wno-deprecated-declarations -Wno-invalid-offsetof -mmacosx-version-min=10.3 -DLL_DARWIN=1 -Wmost -Wno-sign-compare -Wno-switch -fpch-preprocess -F./newview/build/Deployment -fconstant-cfstrings -ffor-scope -Wno-reorder -isysroot /Developer/SDKs/MacOSX10.3.9.sdk ' |
Lines 197-203
Link Here
|
197 |
### Build type-specific flags ### |
203 |
### Build type-specific flags ### |
198 |
|
204 |
|
199 |
debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 ' |
205 |
debug_opts = flags + '-fno-inline -O0 -D_DEBUG -DLL_DEBUG=1 ' |
200 |
release_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 ' |
206 |
release_opts = flags + '-DNDEBUG -DLL_RELEASE=1 ' |
201 |
releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 ' |
207 |
releasenoopt_opts = flags + '-O0 -DNDEBUG -DLL_RELEASE=1 ' |
202 |
releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 ' |
208 |
releasefordownload_opts = flags + '-O2 -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 ' |
203 |
|
209 |
|