tools/patchelf: update to 0.18.0
[openwrt/staging/dedeckeh.git] / config / Config-build.in
index 8c81ef654cfe6021a0f5e1e5af943221b5632c05..df2d9101ca99c91fc8cf727f81bd636f67994fa1 100644 (file)
@@ -144,6 +144,21 @@ menu "Global build settings"
                help
                  Adds -g3 to the CFLAGS.
 
+       config USE_GC_SECTIONS
+               bool
+               prompt "Dead code and data elimination for all packages (EXPERIMENTAL)"
+               help
+                 Places functions and data items into its own sections to use the linker's
+                 garbage collection capabilites.
+                 Packages can choose to opt-out via setting PKG_BUILD_FLAGS:=no-gc-sections
+
+       config USE_LTO
+               bool
+               prompt "Use the link-time optimizer for all packages (EXPERIMENTAL)"
+               help
+                 Adds LTO flags to the CFLAGS and LDFLAGS.
+                 Packages can choose to opt-out via setting PKG_BUILD_FLAGS:=no-lto
+
        config IPV6
                def_bool y