From 36b6d0fffe7a31f789b6ce19dcf6174b081a299a Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 31 Jan 2021 20:16:17 +0800 Subject: [PATCH] Revert "build: Support non-standard ldso in executables" This reverts commit 34b38b6dbdb4df8ca08a810e4eafd6976663e2b2. --- src/build/config/gcc/BUILD.gn | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/build/config/gcc/BUILD.gn b/src/build/config/gcc/BUILD.gn index 6df39d2eea..154b259b5f 100644 --- a/src/build/config/gcc/BUILD.gn +++ b/src/build/config/gcc/BUILD.gn @@ -108,11 +108,6 @@ config("executable_config") { "-Wl,--disable-new-dtags", ] } - - # Needed for non-standard ldso on OpenWRT - if (current_toolchain == default_toolchain && ldso_path != "") { - ldflags += [ "-Wl,--dynamic-linker=${ldso_path}" ] - } } # Settings for shared libraries.