[NLopt/el5] append `-fpermissive` to C[XX]FLAGS on Fedora 19+
by Björn 'besser82' Esser
commit c95460c53d89632bd5f2238933cabfd9a58f5a75
Author: Björn Esser <bjoern.esser(a)gmail.com>
Date: Fri Dec 20 16:53:30 2013 +0100
append `-fpermissive` to C[XX]FLAGS on Fedora 19+
NLopt.spec | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index 4613e2f..b44379b 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -237,6 +237,11 @@ cp -a . %{py3dir}
%build
+%if 0%{?fedora} >= 19
+export CFLAGS="%{optflags} -fpermissive"
+export CXXFLAGS="%{optflags} -fpermissive"
+%endif #0%%{?fedora} >= 19
+
%configure \
--enable-shared \
--enable-maintainer-mode \
@@ -402,6 +407,7 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild"
- move `README.md` only if existing
- create an empty Makefile on el5 instead of modifying top-level Makefile.am
- do not autoreconf on el5
+- append `-fpermissive` to C[XX]FLAGS on Fedora 19+
* Fri Dec 20 2013 Björn Esser <bjoern.esser(a)gmail.com> - 2.4-3.git20130903.35e6377
- made %%clean-target conditional on el5
10 years, 5 months
[NLopt] do not autoreconf on el5
by Björn 'besser82' Esser
Summary of changes:
0c39524... do not autoreconf on el5 (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[NLopt/f20] do not autoreconf on el5
by Björn 'besser82' Esser
Summary of changes:
0c39524... do not autoreconf on el5 (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[NLopt/f19] do not autoreconf on el5
by Björn 'besser82' Esser
Summary of changes:
0c39524... do not autoreconf on el5 (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[NLopt/f18] do not autoreconf on el5
by Björn 'besser82' Esser
Summary of changes:
0c39524... do not autoreconf on el5 (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[NLopt/el6] do not autoreconf on el5
by Björn 'besser82' Esser
Summary of changes:
0c39524... do not autoreconf on el5 (*)
(*) This commit already existed in another branch; no separate mail sent
10 years, 5 months
[NLopt/el5] do not autoreconf on el5
by Björn 'besser82' Esser
commit 0c395240550f62ed0c8ecea2d18724c7548408db
Author: Björn Esser <bjoern.esser(a)gmail.com>
Date: Fri Dec 20 16:51:08 2013 +0100
do not autoreconf on el5
NLopt.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index 5ee9d91..4613e2f 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -227,7 +227,7 @@ done
# Bootstrapping once before we create a copy in %%{py3dir}.
touch swig/nlopt.scm.in
-autoreconf -fiv
+%{!?el5:autoreconf -fiv}
%if 0%{?fedora} || 0%{?rhel} >= 7
# Creating a copy for building the Python3-plugin.
@@ -401,6 +401,7 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild"
- use `tr` instead of shell-builtin for `%%define lc_name`
- move `README.md` only if existing
- create an empty Makefile on el5 instead of modifying top-level Makefile.am
+- do not autoreconf on el5
* Fri Dec 20 2013 Björn Esser <bjoern.esser(a)gmail.com> - 2.4-3.git20130903.35e6377
- made %%clean-target conditional on el5
10 years, 5 months