From 751e978fd630ec184fd7b9b2c8c8efce98c3ff06 Mon Sep 17 00:00:00 2001 From: darekr Date: Fri, 12 May 2006 13:53:03 +0000 Subject: [PATCH] - add -Makefile.patch to pass CXX Changed files: astyle.spec -> 1.9 --- astyle.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/astyle.spec b/astyle.spec index 4fed495..3c6ce68 100644 --- a/astyle.spec +++ b/astyle.spec @@ -8,6 +8,7 @@ Group: Development/Tools Source0: http://dl.sourceforge.net/astyle/%{name}_%{version}.zip # Source0-md5: 4d8adbcd8703aea00fcd2670be090ddd URL: http://astyle.sourceforge.net/ +Patch0: %{name}-Makefile.patch BuildRequires: unzip BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -21,9 +22,11 @@ wci %prep %setup -q -c +%patch0 -p1 %build %{__make} \ + CXX="%{__cxx}" \ CPPFLAGS="%{rpmcflags}" %install -- 2.43.0