about summary refs log tree commit diff
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
parentf4fe3bd5b1b92007f2023f841a468c64592b6fd0 (diff)
* Use a statically linked ATerm library and build it at -O1, since
  higher optimisation levels cause statically linked libraries to
  barf.

-rw-r--r--externals/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/externals/Makefile.am b/externals/Makefile.am
index 94d075652c07..08c6d0f9c84e 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