mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
* 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:
parent
0e9affeed4
commit
6aefff0061
|
@ -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 = \
|
||||
|
|
Loading…
Reference in a new issue