about summary refs log tree commit diff
path: root/externals
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-09-18T20·27+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-09-18T20·27+0000
commit25d217684b06b368923d8f683c9b561cdfded255 (patch)
tree152e85e47f5669e5c24231ffa064d5af43d49db8 /externals
parentf4fe3bd5b1b92007f2023f841a468c64592b6fd0 (diff)
* Use a statically linked ATerm library and build it at -O1, since
  higher optimisation levels cause statically linked libraries to
  barf.

Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/externals/Makefile.am b/externals/Makefile.am
index 94d075652c..08c6d0f9c8 100644
--- a/externals/Makefile.am
+++ b/externals/Makefile.am
@@ -56,7 +56,8 @@ else
 build-aterm: have-aterm
 	(pfx=`pwd` && \
 	cd $(ATERM) && \
-	CC="$(CC)" ./configure --prefix=$$pfx/inst-aterm && \
+	CC="$(CC)" ./configure --prefix=$$pfx/inst-aterm \
+	  --disable-shared --enable-static CFLAGS=-O1 && \
 	$(MAKE) && \
 	$(MAKE) install)
 	touch build-aterm