Fix *BSD build.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7002 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-01-31 03:02:23 +00:00
parent fec5ed92ff
commit 8822674653
21 changed files with 36 additions and 34 deletions
+2 -1
View File
@@ -129,6 +129,7 @@ if sys.platform == 'darwin':
env['FRAMEWORKS'] += ['AudioToolbox', 'AudioUnit', 'CoreAudio', 'WebKit']
env['FRAMEWORKS'] += ['IOBluetooth', 'IOKit', 'OpenGL']
env['LINKFLAGS'] += ccld
env['LINKFLAGS'] += ['-Wl,-dead_strip']
env['LINKFLAGS'] += ['-Wl,-pagezero_size,0x1000']
env['LINKFLAGS'] += ['-Wl,-search_paths_first']
@@ -170,7 +171,7 @@ elif sys.platform == 'win32':
pass
else:
env['CCFLAGS'] += ['-fPIC', '-msse2', '-pthread']
env['CCFLAGS'] += ['-msse2', '-pthread']
if env['CCVERSION'] >= '4.2.0':
env['CCFLAGS'] += ['-fvisibility=hidden']
env['CXXFLAGS'] += ['-fvisibility-inlines-hidden']