mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Adds extern "C" ints to the .cpp files that use RegisterTarget, as
well as 2 files that use "Registrator"s. These are to be used by the MSVC builds, as the Win32 linker does not include libs that are otherwise unreferenced, even if global constructors in the lib have side-effects. Patch by Scott Graham! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59378 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1112,3 +1112,6 @@ namespace {
|
||||
}
|
||||
} Registrator;
|
||||
}
|
||||
|
||||
extern "C" int PowerPCAsmPrinterForceLink;
|
||||
int PowerPCAsmPrinterForceLink = 0;
|
||||
|
||||
Reference in New Issue
Block a user