From c7d035ae1a729232579a0fe41ed5affa131d3623 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Feb 2017 00:05:27 -0800 Subject: Import Upstream version 5d9 --- scm.spec | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'scm.spec') diff --git a/scm.spec b/scm.spec index 4be109c..5205315 100644 --- a/scm.spec +++ b/scm.spec @@ -1,5 +1,5 @@ %define name scm -%define version 5d6 +%define version 5d9 %define release 1 %define implpath %{prefix}/lib/scm # rpm seems to require all on one line, bleah. @@ -18,7 +18,7 @@ Requires: slib Summary: SCM Scheme implementation. Source: ftp://swissnet.ai.mit.edu/pub/scm/scm%{version}.zip -URL: http://swissnet.ai.mit.edu/~jaffer/SCM.html +URL: http://swissnet.ai.mit.edu/~jaffer/SCM BuildRoot: %{_tmppath}/%{name}%{version} Prefix: /usr @@ -53,20 +53,21 @@ make clean export PATH=.:$PATH # to get scmlit in the path. # Build the executable. -./build -h system -o udscm5 -l debug -s %{implpath} -F %{features} +./build -h system -o udscm5 --compiler-options="-O3" -l debug -s %{implpath} -F %{features} echo "(quit)" | ./udscm5 -no-init-file -r5 -o scm make check # Build dlls make x.so -./build -h system -F curses -t dll +./build -h system -F curses -t dll --compiler-options="-O3" ./build -h system -t dll -c sc2.c rgx.c record.c gsubr.c ioext.c posix.c \ - unix.c socket.c ramap.c -./build -h system -F edit-line -t dll -./build -h system -F x -t dll + unix.c socket.c ramap.c --compiler-options="-O3" +./build -h system -F edit-line -t dll --compiler-options="-O3" +./build -h system -F x -t dll --compiler-options="-O3" # Build libscm.a static library -./build -h system -F cautious bignums arrays inexact dynamic-linking -t lib +./build -h system -F cautious bignums arrays inexact dynamic-linking -t lib \ + --compiler-options="-O3" %install mkdir -p ${RPM_BUILD_ROOT}%{prefix}/bin @@ -143,6 +144,7 @@ rm -f %{prefix}/bin/scm %{prefix}/lib/scm/hobbit.scm %{prefix}/lib/scm/scmhob.scm %{prefix}/lib/scm/scmhob.h +%{prefix}/lib/scm/patchlvl.h %{prefix}/lib/scm/build.scm %{prefix}/lib/scm/build %{prefix}/lib/scm/Iedline.scm -- cgit v1.2.3