* Fix for NIXPKGS-30: make libstdc++'s configure script correctly

identify the features of the compiler / C library.  Specifically, it
  should find out that functions like floorf() are available and not
  substitute its own versions that have the unfortunate tendency of
  going off into an infinite recursion.

svn path=/nixpkgs/trunk/; revision=6738
This commit is contained in:
Eelco Dolstra 2006-10-16 07:05:36 +00:00
parent 0e9affeed4
commit 6aefff0061

View File

@ -14,7 +14,7 @@ diff -rc gcc-orig/Makefile.in gcc-4.1.1/Makefile.in
RAW_CXX_TARGET_EXPORTS = \
$(BASE_TARGET_EXPORTS) \
CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
! CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
! CXX="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD)"; export CXX; \
! CXXCPP="$(RAW_CXX_FOR_TARGET) $(CFLAGS_FOR_BUILD) -E"; export CXXCPP;
NORMAL_TARGET_EXPORTS = \