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 = \