diff options
Diffstat (limited to 'package/libs/libcxx/Makefile')
-rw-r--r-- | package/libs/libcxx/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libcxx/Makefile b/package/libs/libcxx/Makefile index 60978bdc31..1d8e502221 100644 --- a/package/libs/libcxx/Makefile +++ b/package/libs/libcxx/Makefile @@ -47,7 +47,7 @@ CMAKE_OPTIONS += \ -DLIBCXX_HAS_MUSL_LIBC=$(if $(CONFIG_USE_MUSL),ON,OFF) TARGET_CXXFLAGS += -D_LIBCPP_DISABLE_DEPRECATION_WARNINGS -Wno-attributes -flto -TARGET_LDFLAGS += -Wl,--as-needed +TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed -flto=jobserver define Build/InstallDev $(call Build/InstallDev/cmake,$(1)) |