|
@@ -52,6 +52,9 @@ UTIL_LINUX_LIBS_CONF_OPTS += --disable-widechar
|
|
|
# No libs use ncurses
|
|
|
UTIL_LINUX_LIBS_CONF_OPTS += --without-ncursesw --without-ncurses
|
|
|
|
|
|
+# workaround for static_assert on uclibc-ng < 1.0.42
|
|
|
+UTIL_LINUX_LIBS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -Dstatic_assert=_Static_assert"
|
|
|
+
|
|
|
# Unfortunately, the util-linux does LIBS="" at the end of its
|
|
|
# configure script. So we have to pass the proper LIBS value when
|
|
|
# calling the configure script to make configure tests pass properly,
|