File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
nativeaot/BuildIntegration Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ The .NET Foundation licenses this file to you under the MIT license.
163163 <LinkerArg Include =" -L/usr/local/lib -linotify" Condition =" '$(_targetOS)' == 'freebsd'" />
164164 <LinkerArg Include =" @(ExtraLinkerArg->'-Wl,%(Identity)')" />
165165 <LinkerArg Include =" @(NativeFramework->'-framework %(Identity)')" Condition =" '$(_IsApplePlatform)' == 'true'" />
166+ <LinkerArg Include =" -ld_classic" Condition =" '$(_IsApplePlatform)' == 'true'" />
166167 <LinkerArg Include =" -Wl,--eh-frame-hdr" Condition =" '$(_IsApplePlatform)' != 'true'" />
167168 </ItemGroup >
168169
Original file line number Diff line number Diff line change 7979
8080 <ItemGroup Condition =" '$(NativeAotSupported)' == 'true'" >
8181 <CustomLinkerArg Condition =" '$(CrossBuild)' == 'true' and '$(_hostArchitecture)' == '$(_targetArchitecture)' and '$(_hostOS)' != 'windows' and '$(_IsApplePlatform)' != 'true'" Include =" --gcc-toolchain=$(ROOTFS_DIR)/usr" />
82+ <CustomLinkerArg Condition =" '$(_IsApplePlatform)' == 'true'" Include =" -ld_classic" />
8283 </ItemGroup >
8384
8485 <Target Name =" PublishCompiler"
You can’t perform that action at this time.
0 commit comments