diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index cbf89bca9d..e1d88af18f 100644 --- a/package/kmod/kmod.mk +++ b/package/kmod/kmod.mk @@ -17,12 +17,6 @@ KMOD_LICENSE_FILES = libkmod/COPYING KMOD_CPE_ID_VENDOR = kernel -# --gc-sections triggers binutils ld segfault -# https://sourceware.org/bugzilla/show_bug.cgi?id=21180 -ifeq ($(BR2_microblaze),y) -KMOD_CONF_ENV += cc_cv_LDFLAGS__Wl___gc_sections=false -endif - # static linking not supported, see # https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8 KMOD_CONF_OPTS = --disable-static --enable-shared