[avl] Build without -fdefault-real-8
Sandro Mani
smani at fedoraproject.org
Sat Jan 25 22:17:04 UTC 2014
commit 0a906fcfab3ac8d113646fe2cf1f94ab1c2a68c2
Author: Sandro Mani <manisandro at gmail.com>
Date: Sat Jan 25 23:17:21 2014 +0100
Build without -fdefault-real-8
avl.spec | 5 ++++-
avl3.32-makefile.patch | 6 +++---
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/avl.spec b/avl.spec
index 020b0b1..894100a 100644
--- a/avl.spec
+++ b/avl.spec
@@ -1,6 +1,6 @@
Name: avl
Version: 3.32
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Aerodynamic and flight-dynamic analysis of rigid aircrafts
# Plotlib is LGPLv2+, the rest is GPLv2+
@@ -55,6 +55,9 @@ make %{?_smp_mflags} -C bin
%changelog
+* Sat Jan 25 2014 Sandro Mani <manisandro at gmail.com> - 3.32-5
+- Rebuild without-fdefault-real-8
+
* Fri Sep 20 2013 Sandro Mani <manisandro at gmail.com> - 3.32-4
- Conflict with old avl
diff --git a/avl3.32-makefile.patch b/avl3.32-makefile.patch
index 9883385..b01a0c4 100644
--- a/avl3.32-makefile.patch
+++ b/avl3.32-makefile.patch
@@ -13,7 +13,7 @@ diff -rupN avl3.32/Avl/bin/Makefile avl3.32-new/Avl/bin/Makefile
+#Subroutine SECOND source file
+SECOND = second_g77.f
+
-+override FFLAGS += -fdefault-real-8
++# override FFLAGS += -fdefault-real-8
+
+PLTOBJ = ../plotlib/libPltDP.a
+PLTLIB = -lX11
@@ -219,7 +219,7 @@ diff -rupN avl3.32/Avl/eispack/Makefile avl3.32-new/Avl/eispack/Makefile
#- uncomment for double-precision option
-DP = -r8
-+DP = -fdefault-real-8
++# DP = -fdefault-real-8
eispack.a: eispack.f
@@ -264,7 +264,7 @@ diff -rupN avl3.32/Avl/plotlib/Makefile avl3.32-new/Avl/plotlib/Makefile
+
+# Some fortrans need trailing underscores in C interface symbols (see Xwin.c)
+override CFLAGS += -DUNDERSCORE
-+override FFLAGS += -fdefault-real-8
++# override FFLAGS += -fdefault-real-8
###========================================================
More information about the scm-commits
mailing list