</Dependency>
</ProductDependencies>
<ToolsetDependencies>
- <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.ApiCompat" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.ApiCompat" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.GenAPI" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.GenAPI" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.GenFacades" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.GenFacades" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.XUnitConsoleRunner" Version="2.5.1-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.Build.Tasks.Packaging" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.CodeAnalysis" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk" Version="5.0.0-beta.20372.2">
+ <Dependency Name="Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.RemoteExecutor" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.VersionTools.Tasks" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk" Version="5.0.0-beta.20364.3">
+ <Dependency Name="Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk" Version="5.0.0-beta.20374.1">
<Uri>https://github.com/dotnet/arcade</Uri>
- <Sha>ff5d4b6c8dbdaeacb6e6159d3f8185118dffd915</Sha>
+ <Sha>f6192d1e284a08ac05041d05fa6e60dec74b24f5</Sha>
</Dependency>
<Dependency Name="optimization.windows_nt-x64.IBC.CoreFx" Version="99.99.99-master-20190716.1">
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>
<Uri>https://dev.azure.com/dnceng/internal/_git/dotnet-optimization</Uri>
<Sha>d0bb63d2ec7060714e63ee4082fac48f2e57f3e2</Sha>
</Dependency>
- <Dependency Name="Microsoft.NET.Test.Sdk" Version="16.8.0-preview-20200720-01">
+ <Dependency Name="Microsoft.NET.Test.Sdk" Version="16.8.0-preview-20200730-02">
<Uri>https://github.com/microsoft/vstest</Uri>
- <Sha>069d8bd6357e2dbc260a35016ddbefe5dfec4102</Sha>
+ <Sha>ddb755f58160c0e7fab50964d665be1bf47ff579</Sha>
</Dependency>
- <Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.ComponentModel.TypeConverter.TestData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
- <Dependency Name="System.Drawing.Common.TestData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.Drawing.Common.TestData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
- <Dependency Name="System.IO.Compression.TestData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.IO.Compression.TestData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
- <Dependency Name="System.IO.Packaging.TestData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.IO.Packaging.TestData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
- <Dependency Name="System.Net.TestData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.Net.TestData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
- <Dependency Name="System.Private.Runtime.UnicodeData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.Private.Runtime.UnicodeData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
- <Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.Security.Cryptography.X509Certificates.TestData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
- <Dependency Name="System.Windows.Extensions.TestData" Version="5.0.0-beta.20364.1">
+ <Dependency Name="System.Windows.Extensions.TestData" Version="5.0.0-beta.20377.1">
<Uri>https://github.com/dotnet/runtime-assets</Uri>
- <Sha>5a041ae14a25fe6e5db62666778a7adb59d5a056</Sha>
+ <Sha>4d5781485294568e51a4673719c8ae5ae8955e70</Sha>
</Dependency>
<Dependency Name="runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk" Version="9.0.1-alpha.1.20365.1">
<Uri>https://github.com/dotnet/llvm-project</Uri>
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>0375524a91a47ca4db3ee1be548f74bab7e26e76</Sha>
</Dependency>
- <Dependency Name="Microsoft.NET.ILLink.Tasks" Version="5.0.0-preview.3.20374.1">
+ <Dependency Name="Microsoft.NET.ILLink.Tasks" Version="5.0.0-preview.3.20378.1">
<Uri>https://github.com/mono/linker</Uri>
- <Sha>8224c7254fc4aa5da70bb7d2e0d1c55bca1e19bf</Sha>
+ <Sha>7c9b806037e88df7eb40a8151808730133676668</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="1.0.0-prerelease.20352.3">
+ <Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="1.0.0-prerelease.20380.1">
<Uri>https://github.com/dotnet/xharness</Uri>
- <Sha>5c95b40b725e1aa9d596411c453900385cf6f84c</Sha>
+ <Sha>d5f2dfa6abcab999bd65fb95ac694d4109df405c</Sha>
</Dependency>
- <Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="1.0.0-prerelease.20352.3">
+ <Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="1.0.0-prerelease.20380.1">
<Uri>https://github.com/dotnet/xharness</Uri>
- <Sha>5c95b40b725e1aa9d596411c453900385cf6f84c</Sha>
+ <Sha>d5f2dfa6abcab999bd65fb95ac694d4109df405c</Sha>
</Dependency>
</ToolsetDependencies>
</Dependencies>
</ItemGroup>
<PropertyGroup>
<!-- Arcade dependencies -->
- <MicrosoftDotNetApiCompatVersion>5.0.0-beta.20364.3</MicrosoftDotNetApiCompatVersion>
- <MicrosoftDotNetBuildTasksFeedVersion>5.0.0-beta.20364.3</MicrosoftDotNetBuildTasksFeedVersion>
- <MicrosoftDotNetCodeAnalysisVersion>5.0.0-beta.20364.3</MicrosoftDotNetCodeAnalysisVersion>
- <MicrosoftDotNetGenAPIVersion>5.0.0-beta.20364.3</MicrosoftDotNetGenAPIVersion>
- <MicrosoftDotNetGenFacadesVersion>5.0.0-beta.20364.3</MicrosoftDotNetGenFacadesVersion>
- <MicrosoftDotNetXUnitExtensionsVersion>5.0.0-beta.20367.6</MicrosoftDotNetXUnitExtensionsVersion>
- <MicrosoftDotNetXUnitConsoleRunnerVersion>2.5.1-beta.20364.3</MicrosoftDotNetXUnitConsoleRunnerVersion>
- <MicrosoftDotNetBuildTasksPackagingVersion>5.0.0-beta.20374.3</MicrosoftDotNetBuildTasksPackagingVersion>
- <MicrosoftDotNetRemoteExecutorVersion>5.0.0-beta.20367.6</MicrosoftDotNetRemoteExecutorVersion>
- <MicrosoftDotNetVersionToolsTasksVersion>5.0.0-beta.20364.3</MicrosoftDotNetVersionToolsTasksVersion>
+ <MicrosoftDotNetApiCompatVersion>5.0.0-beta.20374.1</MicrosoftDotNetApiCompatVersion>
+ <MicrosoftDotNetBuildTasksFeedVersion>5.0.0-beta.20374.1</MicrosoftDotNetBuildTasksFeedVersion>
+ <MicrosoftDotNetCodeAnalysisVersion>5.0.0-beta.20374.1</MicrosoftDotNetCodeAnalysisVersion>
+ <MicrosoftDotNetGenAPIVersion>5.0.0-beta.20374.1</MicrosoftDotNetGenAPIVersion>
+ <MicrosoftDotNetGenFacadesVersion>5.0.0-beta.20374.1</MicrosoftDotNetGenFacadesVersion>
+ <MicrosoftDotNetXUnitExtensionsVersion>5.0.0-beta.20374.1</MicrosoftDotNetXUnitExtensionsVersion>
+ <MicrosoftDotNetXUnitConsoleRunnerVersion>2.5.1-beta.20374.1</MicrosoftDotNetXUnitConsoleRunnerVersion>
+ <MicrosoftDotNetBuildTasksPackagingVersion>5.0.0-beta.20374.1</MicrosoftDotNetBuildTasksPackagingVersion>
+ <MicrosoftDotNetRemoteExecutorVersion>5.0.0-beta.20374.1</MicrosoftDotNetRemoteExecutorVersion>
+ <MicrosoftDotNetVersionToolsTasksVersion>5.0.0-beta.20374.1</MicrosoftDotNetVersionToolsTasksVersion>
<!-- Installer dependencies -->
<MicrosoftNETCoreAppVersion>5.0.0-preview.4.20202.18</MicrosoftNETCoreAppVersion>
<MicrosoftNETCoreDotNetHostVersion>5.0.0-preview.4.20202.18</MicrosoftNETCoreDotNetHostVersion>
<MicrosoftWin32PrimitivesVersion>4.3.0</MicrosoftWin32PrimitivesVersion>
<runtimenativeSystemIOPortsVersion>5.0.0-alpha.1.19563.3</runtimenativeSystemIOPortsVersion>
<!-- Runtime-Assets dependencies -->
- <SystemComponentModelTypeConverterTestDataVersion>5.0.0-beta.20364.1</SystemComponentModelTypeConverterTestDataVersion>
- <SystemDrawingCommonTestDataVersion>5.0.0-beta.20364.1</SystemDrawingCommonTestDataVersion>
- <SystemIOCompressionTestDataVersion>5.0.0-beta.20364.1</SystemIOCompressionTestDataVersion>
- <SystemIOPackagingTestDataVersion>5.0.0-beta.20364.1</SystemIOPackagingTestDataVersion>
- <SystemNetTestDataVersion>5.0.0-beta.20364.1</SystemNetTestDataVersion>
- <SystemPrivateRuntimeUnicodeDataVersion>5.0.0-beta.20364.1</SystemPrivateRuntimeUnicodeDataVersion>
- <SystemSecurityCryptographyX509CertificatesTestDataVersion>5.0.0-beta.20364.1</SystemSecurityCryptographyX509CertificatesTestDataVersion>
- <SystemWindowsExtensionsTestDataVersion>5.0.0-beta.20364.1</SystemWindowsExtensionsTestDataVersion>
+ <SystemComponentModelTypeConverterTestDataVersion>5.0.0-beta.20377.1</SystemComponentModelTypeConverterTestDataVersion>
+ <SystemDrawingCommonTestDataVersion>5.0.0-beta.20377.1</SystemDrawingCommonTestDataVersion>
+ <SystemIOCompressionTestDataVersion>5.0.0-beta.20377.1</SystemIOCompressionTestDataVersion>
+ <SystemIOPackagingTestDataVersion>5.0.0-beta.20377.1</SystemIOPackagingTestDataVersion>
+ <SystemNetTestDataVersion>5.0.0-beta.20377.1</SystemNetTestDataVersion>
+ <SystemPrivateRuntimeUnicodeDataVersion>5.0.0-beta.20377.1</SystemPrivateRuntimeUnicodeDataVersion>
+ <SystemSecurityCryptographyX509CertificatesTestDataVersion>5.0.0-beta.20377.1</SystemSecurityCryptographyX509CertificatesTestDataVersion>
+ <SystemWindowsExtensionsTestDataVersion>5.0.0-beta.20377.1</SystemWindowsExtensionsTestDataVersion>
<!-- Standard dependencies -->
<NETStandardLibraryVersion>2.2.0-prerelease.19564.1</NETStandardLibraryVersion>
<NetStandardLibrary20Version>2.0.3</NetStandardLibrary20Version>
<RefOnlyNugetProjectModelVersion>4.9.4</RefOnlyNugetProjectModelVersion>
<RefOnlyNugetPackagingVersion>4.9.4</RefOnlyNugetPackagingVersion>
<!-- Testing -->
- <MicrosoftNETTestSdkVersion>16.8.0-preview-20200720-01</MicrosoftNETTestSdkVersion>
- <MicrosoftDotNetXHarnessTestRunnersXunitVersion>1.0.0-prerelease.20352.3</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
- <MicrosoftDotNetXHarnessCLIVersion>1.0.0-prerelease.20352.3</MicrosoftDotNetXHarnessCLIVersion>
+ <MicrosoftNETTestSdkVersion>16.8.0-preview-20200730-02</MicrosoftNETTestSdkVersion>
+ <MicrosoftDotNetXHarnessTestRunnersXunitVersion>1.0.0-prerelease.20380.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
+ <MicrosoftDotNetXHarnessCLIVersion>1.0.0-prerelease.20380.1</MicrosoftDotNetXHarnessCLIVersion>
<XUnitVersion>2.4.1</XUnitVersion>
<XUnitRunnerVisualStudioVersion>2.4.2</XUnitRunnerVisualStudioVersion>
<CoverletCollectorVersion>1.3.0</CoverletCollectorVersion>
<!-- Docs -->
<MicrosoftPrivateIntellisenseVersion>3.0.0-preview-20200715.1</MicrosoftPrivateIntellisenseVersion>
<!-- ILLink -->
- <MicrosoftNETILLinkTasksVersion>5.0.0-preview.3.20374.1</MicrosoftNETILLinkTasksVersion>
+ <MicrosoftNETILLinkTasksVersion>5.0.0-preview.3.20378.1</MicrosoftNETILLinkTasksVersion>
<!-- ICU -->
<MicrosoftNETCoreRuntimeICUTransportVersion>5.0.0-preview.8.20378.2</MicrosoftNETCoreRuntimeICUTransportVersion>
<!-- Mono LLVM -->
# Specify link flags
+function(add_toolchain_linker_flag Flag)
+ set(Config "${ARGV1}")
+ set(CONFIG_SUFFIX "")
+ if (NOT Config STREQUAL "")
+ set(CONFIG_SUFFIX "_${Config}")
+ endif()
+ set("CMAKE_EXE_LINKER_FLAGS${CONFIG_SUFFIX}" "${CMAKE_EXE_LINKER_FLAGS${CONFIG_SUFFIX}} ${Flag}" PARENT_SCOPE)
+ set("CMAKE_SHARED_LINKER_FLAGS${CONFIG_SUFFIX}" "${CMAKE_SHARED_LINKER_FLAGS${CONFIG_SUFFIX}} ${Flag}" PARENT_SCOPE)
+endfunction()
+
+
if(TARGET_ARCH_NAME STREQUAL "armel")
if(DEFINED TIZEN_TOOLCHAIN) # For Tizen only
- add_link_options("-B${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
- add_link_options("-L${CROSS_ROOTFS}/lib")
- add_link_options("-L${CROSS_ROOTFS}/usr/lib")
- add_link_options("-L${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
+ add_toolchain_linker_flag("-B${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/lib")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
endif()
elseif(TARGET_ARCH_NAME STREQUAL "arm64")
if(DEFINED TIZEN_TOOLCHAIN) # For Tizen only
- add_link_options("-B${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
- add_link_options("-L${CROSS_ROOTFS}/lib64")
- add_link_options("-L${CROSS_ROOTFS}/usr/lib64")
- add_link_options("-L${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
-
- add_link_options("-Wl,--rpath-link=${CROSS_ROOTFS}/lib64")
- add_link_options("-Wl,--rpath-link=${CROSS_ROOTFS}/usr/lib64")
- add_link_options("-Wl,--rpath-link=${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
+ add_toolchain_linker_flag("-B${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/lib64")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib64")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
+
+ add_toolchain_linker_flag("-Wl,--rpath-link=${CROSS_ROOTFS}/lib64")
+ add_toolchain_linker_flag("-Wl,--rpath-link=${CROSS_ROOTFS}/usr/lib64")
+ add_toolchain_linker_flag("-Wl,--rpath-link=${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
endif()
elseif(TARGET_ARCH_NAME STREQUAL "x86")
- add_link_options(-m32)
+ add_toolchain_linker_flag(-m32)
elseif(ILLUMOS)
- add_link_options("-L${CROSS_ROOTFS}/lib/amd64")
- add_link_options("-L${CROSS_ROOTFS}/usr/amd64/lib")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/lib/amd64")
+ add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/amd64/lib")
endif()
# Specify compile options