From ae5d93df33d091658b32cb2867f875bcafa01acc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 23 Oct 2001 20:52:20 +0000 Subject: [PATCH 1/1] - %%configure2_13 behaves like %%configure, now (CC and CXX handling) Changed files: rpm.macros -> 1.62 --- rpm.macros | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm.macros b/rpm.macros index 69b5b3e..c4c5b06 100644 --- a/rpm.macros +++ b/rpm.macros @@ -32,6 +32,8 @@ CFLAGS="${CFLAGS:-%rpmcflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%rpmcflags}" ; export CXXFLAGS ; \ FFLAGS="${FFLAGS:-%rpmcflags}" ; export FFLAGS ; \ + %{?__cc:CC=%{__cc} ; export CC ; } \ + %{?__cxx:CXX=%{__cxx} ; export CXX ; } \ ./configure \ --host=%{_target_platform} \ --prefix=%{_prefix} \ -- 2.44.0