mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-28 01:49:33 -06:00
In the SCons build, skip the generation of static libraries
and just operate on lists of object files instead. This helps with LTO since LLVM/clang LTO is completely broken by static libraries. It also helps identify symbol clashes between components like the former plugins. Many linkers also expect static libraries to form a strict DAG which turns out be a difficult rule to uphold in practice, especially since some of our platforms aren't picky about this. LTO builds currently appears to crash at runtime because of the static wx libs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7056 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
4
Externals/Bochs_disasm/SConscript
vendored
4
Externals/Bochs_disasm/SConscript
vendored
@ -14,5 +14,7 @@ files = [
|
||||
if sys.platform == 'win32':
|
||||
files += [ "stdafx.cpp" ]
|
||||
|
||||
env.StaticLibrary(env['local_libs'] + "bdisasm", files)
|
||||
env['CPPPATH'] += ['#Externals/Bochs_disasm']
|
||||
#env['LIBS'] += env.StaticObject(files)
|
||||
bochs = env.StaticObject(files)
|
||||
env['LIBS'] += bochs
|
||||
|
Reference in New Issue
Block a user