From 6aefff0061ad1809b939a86f2082a8e51bd32288 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 16 Oct 2006 07:05:36 +0000 Subject: [PATCH] * 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 --- pkgs/development/compilers/gcc-4.1/pass-cxxcpp.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/gcc-4.1/pass-cxxcpp.patch b/pkgs/development/compilers/gcc-4.1/pass-cxxcpp.patch index 4f9a29ae51bb..9b0676d4fdc9 100644 --- a/pkgs/development/compilers/gcc-4.1/pass-cxxcpp.patch +++ b/pkgs/development/compilers/gcc-4.1/pass-cxxcpp.patch @@ -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 = \