diff --git a/eng/toolAot.targets b/eng/toolAot.targets
index c80ab880afa5ae..f692cf109984ae 100644
--- a/eng/toolAot.targets
+++ b/eng/toolAot.targets
@@ -22,10 +22,6 @@
-
-
-
-
diff --git a/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj b/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj
index f4b6cc25ea2f34..0b3b2b8317b643 100644
--- a/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj
+++ b/src/libraries/System.Runtime.InteropServices/tests/TestAssets/NativeExports/NativeExports.csproj
@@ -87,7 +87,7 @@
- --target=$(TargetTriple) --gcc-toolchain=$(ROOTFS_DIR)/usr --sysroot=$(ROOTFS_DIR)
+ --target=$(TargetTriple) --sysroot=$(ROOTFS_DIR)
$(CommonToolchainArgs) $(DnneLinkerCommand) $(DnneLinkerUserFlags.Replace(';',' '))
$(CommonToolchainArgs) $(DnneCompilerUserFlags.Replace(';',' '))