summaryrefslogtreecommitdiff
path: root/libstdc++-v3/crossconfig.m4
diff options
context:
space:
mode:
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 07:06:35 +0000
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-09 07:06:35 +0000
commitb67d6ee945362525d86a17bbf7936f13e9849154 (patch)
tree2618aafb1a3b64ce3a3dc4364ccf079b3e9c31e2 /libstdc++-v3/crossconfig.m4
parent0ad895fb32c2c5c5f2d8c146834d5ddee545839b (diff)
downloadgcc-b67d6ee945362525d86a17bbf7936f13e9849154.tar.gz
* crossconfig.m4: Don't enable _GLIBCXX_USE_LFS on *-uclinux*.
* configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/crossconfig.m4')
-rw-r--r--libstdc++-v3/crossconfig.m48
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)