diff options
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r-- | libstdc++-v3/crossconfig.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4 index 076063706fc..2c395e2c355 100644 --- a/libstdc++-v3/crossconfig.m4 +++ b/libstdc++-v3/crossconfig.m4 @@ -134,7 +134,13 @@ case "${host}" in # For LFS. AC_DEFINE(HAVE_INT64_T) - AC_DEFINE(_GLIBCXX_USE_LFS) + case "$target" in + *-uclinux*) + # Don't enable LFS with uClibc + ;; + *) + AC_DEFINE(_GLIBCXX_USE_LFS) + esac # For showmanyc_helper(). AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h) |