summaryrefslogtreecommitdiff
path: root/compiler_and_linker
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c2
-rw-r--r--compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c2
-rw-r--r--compiler_and_linker/unsorted/CodeGen.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c
index 7e741c3..f605817 100644
--- a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c
+++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c
@@ -75,7 +75,7 @@ static int MidParse() {
pCmdLine.state = OptsCmdLineState_2;
if (parseopts.possibleFiles > 0 && useDefaultIncludes) {
- if ((env = GetEnvVar("MWCMachPPCIncludes", 1, &match))) {
+ if ((env = GetEnvVar("MWCMachPPCIncludes\0MWCIncludes\0", 1, &match))) {
// FIXME can probably get rid of this cast later
if (!AddAccessPathList(env, ':', ',', 1, (char *) match, 1, -1, 0))
return 0;
diff --git a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c
index a0cf8c7..484db0f 100644
--- a/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c
+++ b/compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c
@@ -8,7 +8,7 @@ CWPLUGIN_ENTRY (PPCLibImport_GetDropInFlags)(const DropInFlags **flags, SInt32 *
kCurrentDropInFlagsVersion,
CWDROPINCOMPILERTYPE,
DROPINCOMPILERLINKERAPIVERSION_8,
- kGeneratescode | kCanpreprocess | kCanprecompile | kCompAllowDupFileNames | kCompMultiTargAware,
+ kGeneratescode | kCompAllowDupFileNames | kCompMultiTargAware,
Lang_MISC,
DROPINCOMPILERLINKERAPIVERSION_12
};
diff --git a/compiler_and_linker/unsorted/CodeGen.c b/compiler_and_linker/unsorted/CodeGen.c
index b79b423..d5ba07f 100644
--- a/compiler_and_linker/unsorted/CodeGen.c
+++ b/compiler_and_linker/unsorted/CodeGen.c
@@ -1217,7 +1217,7 @@ Boolean CodeGen_ReInitRuntimeObjects(Boolean is_precompiler) {
rt_cvt_dbl_usll->name = GetHashNameNodeExport("__cvt_dbl_usll");
CMach_ReInitRuntimeObjects();
- Intrinsics_ReInitRuntimeObjects(is_precompiler);
+ return Intrinsics_ReInitRuntimeObjects(is_precompiler);
}
Boolean CodeGen_IsPublicRuntimeObject(Object *obj) {