summaryrefslogtreecommitdiff
path: root/scsh-process.setup
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2012-10-05 21:37:05 +0200
committerPeter Bex <peter@more-magic.net>2012-10-05 21:37:05 +0200
commit730e3ff9e081b0bbd78826f52ff8d83c0ed70e30 (patch)
tree164604151a7f5745d4a125d021b37c50585b1030 /scsh-process.setup
parent75a184bd4d476820ef50ea69be714dff173797ca (diff)
downloadscsh-process-730e3ff9e081b0bbd78826f52ff8d83c0ed70e30.tar.gz
Workaround for bug in 4.8.0 when loading scsh-process in compiled mode - it segfaults immediately. TODO: Figure out why0.2.1
Diffstat (limited to 'scsh-process.setup')
-rw-r--r--scsh-process.setup11
1 files changed, 10 insertions, 1 deletions
diff --git a/scsh-process.setup b/scsh-process.setup
index 6347af7..7d54201 100644
--- a/scsh-process.setup
+++ b/scsh-process.setup
@@ -1,2 +1,11 @@
;; -*- Scheme -*-
-(standard-extension 'scsh-process "0.2")
+
+;; Can't use standard-extension for now; 4.8.0's standard-extension uses -O3
+;; which implies -specialize. This generates code that causes a segfault.
+(compile -s -O2 -d1 scsh-process.scm -j scsh-process)
+(compile -s -O2 -d0 scsh-process.import.scm)
+
+(install-extension
+ 'scsh-process
+ '("scsh-process.so" "scsh-process.import.so")
+ '((version "0.2.1")))