From 39646dce329c1b88b1de8ef0c450813765fda202 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 16 Dec 2020 21:53:05 +0100 Subject: build system: make -static-libgcc selectable in config OpenWrt wants this off. Signed-off-by: Denys Vlasenko --- Config.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index ac5b13b8d..a98a8b15b 100644 --- a/Config.in +++ b/Config.in @@ -529,6 +529,14 @@ config STACK_OPTIMIZATION_386 do not work with it (they use SSE instructions without ensuring stack alignment). +config STATIC_LIBGCC + bool "Use -static-libgcc" + default y + help + This option instructs gcc to link in a static version of its + support library, libgcc. This means that the binary will require + one fewer dynamic library at run time. + comment 'Installation Options ("make install" behavior)' choice -- cgit v1.2.3