]> git.pld-linux.org Git - packages/astyle.git/blobdiff - astyle.spec
- add -Makefile.patch to pass CXX
[packages/astyle.git] / astyle.spec
index 4fed49550ca1aca25774db84be47985eb79b5f97..3c6ce6888506f115e246acaf0fe46faccec5dbdb 100644 (file)
@@ -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
This page took 0.070947 seconds and 4 git commands to generate.