summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@fedoraproject.org>2005-02-12 14:19:55 +0000
committerDavid Woodhouse <dwmw2@fedoraproject.org>2005-02-12 14:19:55 +0000
commitc03f8f65d03f71ada6d25851e0264bc9f1c30710 (patch)
treec5cc570ab73a9ee070546379ed8682b52ae4c1ee
parentee78dcf658224d595a6e14030c11a3c015aa0144 (diff)
downloadlua-c03f8f65d03f71ada6d25851e0264bc9f1c30710.tar.gz
lua-c03f8f65d03f71ada6d25851e0264bc9f1c30710.tar.xz
lua-c03f8f65d03f71ada6d25851e0264bc9f1c30710.zip
Fix PPC build. i386 assembly considered harmful
-rw-r--r--lua.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/lua.spec b/lua.spec
index 20ff763..09da379 100644
--- a/lua.spec
+++ b/lua.spec
@@ -1,6 +1,6 @@
Name: lua
Version: 5.0.2
-Release: 1
+Release: 2
Summary: A powerful light-weight programming language
Group: Development/Languages
@@ -26,14 +26,15 @@ configuration, scripting, and rapid prototyping.
%prep
%setup -q
-
%build
make %{?_smp_mflags} \
MYCFLAGS="$RPM_OPT_FLAGS -fPIC" \
MYLDFLAGS="-Wl,-E" \
LOADLIB=-DUSE_DLOPEN=1 \
DLLIB=-ldl \
+%ifarch %{ix86}
NUMBER="-DLUA_USER_H='\"../etc/luser_number.h\"' -DUSE_FASTROUND" \
+%endif
USERCONF="-DLUA_USERCONFIG='\"../../etc/saconfig.c\"' -DUSE_READLINE" \
EXTRA_LIBS="-lm -lreadline -lncurses"
@@ -68,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Feb 12 2005 David Woodhouse <dwmw2@infradead.org> - 5.0.2-2
+- Don't use fastround on ppc
+
* Tue Feb 01 2005 Panu Matilainen <pmatilai@welho.com> - 5.0.2-1
- update to 5.0.2
- remove epoch 0, drop fedora.us release tag