[newlisp/f15] modified: newlisp.spec
ndowens
ndowens at fedoraproject.org
Sun Apr 8 23:01:47 UTC 2012
commit 59bc5248a373491f8c3b97a5c3390841a38c17c9
Author: Nathan Owens <ndowens04 at gmail.com>
Date: Sun Apr 8 18:01:26 2012 -0500
modified: newlisp.spec
newlisp.spec | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/newlisp.spec b/newlisp.spec
index 91824f1..303f102 100644
--- a/newlisp.spec
+++ b/newlisp.spec
@@ -8,7 +8,6 @@ URL: http://www.newlisp.org
Source0: http://www.newlisp.org/downloads/%{name}-%{version}.tgz
Patch0: %{name}-0002-Allow-to-override-CFLAGS.patch
Patch1: %{name}-0003-Don-t-strip-the-resulting-binary.patch
-Patch2: %{name}-h.patch
BuildRequires: readline-devel
BuildRequires: libffi-devel
@@ -21,12 +20,18 @@ applications.
%setup -q
%patch0 -p1 -b .CFLAGS-override
%patch1 -p1 -b .stop-binary-strip
-%patch2 -p1 -b .newlisp-h
%build
%configure
+
+%ifarch x86_64
+CFLAGS="%{optflags} -c -DREADLINE -DSUPPORT_UTF8 -DLINUX" \
+ make -f makefile_linuxLP64 %{?_smp_mflags}
+%endif
+%ifarch %{ix86}
CFLAGS="%{optflags} -c -DREADLINE -DSUPPORT_UTF8 -DLINUX" \
- make %{?_smp_mflags}
+ make -f makefile_linux %{?_smp_mflags}
+%endif
%install
rm -rf %{buildroot}
More information about the scm-commits
mailing list