diff options
| author | Hauke Mehrtens | 2022-09-11 22:29:00 +0000 |
|---|---|---|
| committer | Christian Marangi | 2022-12-06 00:01:12 +0000 |
| commit | 904581c59e0c326a865b0ebf802db8ae5fec95f0 (patch) | |
| tree | 7c47678da6f4ffcf2f5bb92342af078b087b227f | |
| parent | d84d34e6e077f27bb20aafd5b9f639b297a077ab (diff) | |
| download | openwrt-904581c59e0c326a865b0ebf802db8ae5fec95f0.tar.gz | |
toolchain: Select USE_SSTRIP with external musl toolchain
When we use the internal toolchain USE_SSTRIP will be selected by
default for musl libc and USE_STRIP when glibc is used. Do the same when
an external toolchain is used. USE_GLIBC will also be set for external
toolchain builds based on the EXTERNAL_TOOLCHAIN_LIBC_USE_GLIBC setting.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 9403810c020cca136149973a3929bf77a1f501aa)
| -rw-r--r-- | config/Config-build.in | 1 | ||||
| -rw-r--r-- | target/sdk/files/Config.in | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/config/Config-build.in b/config/Config-build.in index 196d4e67a0..a43f218c89 100644 --- a/config/Config-build.in +++ b/config/Config-build.in @@ -164,7 +164,6 @@ menu "Global build settings" choice prompt "Binary stripping method" - default USE_STRIP if EXTERNAL_TOOLCHAIN default USE_STRIP if USE_GLIBC default USE_SSTRIP help diff --git a/target/sdk/files/Config.in b/target/sdk/files/Config.in index f687992497..b1e18949f6 100644 --- a/target/sdk/files/Config.in +++ b/target/sdk/files/Config.in @@ -31,7 +31,6 @@ menu "Global build settings" choice prompt "Binary stripping method" - default USE_STRIP if EXTERNAL_TOOLCHAIN default USE_STRIP if USE_GLIBC default USE_SSTRIP help |