diff --git a/package/Makefile.in b/package/Makefile.in index 508ea7c366..580e9d14ca 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -51,8 +51,12 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) LIBC = uclibc else ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) LIBC = musl -else +else ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) LIBC = gnu +else +# This happens if there is a bug in Buildroot that allows an +# architecture configuration that isn't supported by any library. +$(error No C library enabled, this is not possible.) endif # The ABI suffix is a bit special on ARM, as it needs to be