[packages/cloog-isl] - prevent configure from overriding our CFLAGS, rel 3
baggins
baggins at pld-linux.org
Wed Feb 16 09:49:24 CET 2022
commit 372806479bb7ae1d8075aed3165fb7f7c15d85b4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Feb 16 09:48:38 2022 +0100
- prevent configure from overriding our CFLAGS, rel 3
cflags.patch | 10 ++++++++++
cloog-isl.spec | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/cloog-isl.spec b/cloog-isl.spec
index f2ef4ff..0e32304 100644
--- a/cloog-isl.spec
+++ b/cloog-isl.spec
@@ -7,7 +7,7 @@ Summary: The Chunky Loop Generator
Summary(pl.UTF-8): Chunky Loop Generator - generator pętli cząstkowych
Name: cloog-isl
Version: 0.20.0
-Release: 2
+Release: 3
License: LGPL v2.1+
Group: Development/Tools
# older?
@@ -15,6 +15,7 @@ Group: Development/Tools
#Source0Download: https://github.com/periscop/cloog/releases
Source0: https://github.com/periscop/cloog/releases/download/cloog-%{version}/cloog-%{version}.tar.gz
# Source0-md5: 93695e7284c3ec05bcd7531e735b56a8
+Patch0: cflags.patch
URL: http://www.cloog.org/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -95,6 +96,7 @@ Statyczna biblioteka opartej na isl wersji Chunky Loop Generatora.
%prep
%setup -q -n cloog-%{version}
+%patch0 -p1
%build
%{__libtoolize}
diff --git a/cflags.patch b/cflags.patch
new file mode 100644
index 0000000..f92c842
--- /dev/null
+++ b/cflags.patch
@@ -0,0 +1,10 @@
+--- cloog-0.20.0/configure.ac~ 2018-09-07 16:04:19.000000000 +0200
++++ cloog-0.20.0/configure.ac 2022-02-16 09:47:30.458783161 +0100
+@@ -75,7 +75,6 @@
+ AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, [])
+ AM_CONDITIONAL(HAVE_TEXI2DVI, test -n "$TEXI2DVI")
+
+-AX_CC_MAXOPT
+ AC_SUBST(CFLAGS_WARN)
+ AX_CFLAGS_WARN_ALL(CFLAGS_WARN)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cloog-isl.git/commitdiff/372806479bb7ae1d8075aed3165fb7f7c15d85b4
More information about the pld-cvs-commit
mailing list