summaryrefslogtreecommitdiff
path: root/xcomp
diff options
context:
space:
mode:
authorsmithwinston <smith.winston.101@gmail.com>2011-11-01 06:40:23 -0400
committerHenrik Nord <henrik@erlang.org>2011-11-02 09:59:49 +0100
commite89c2af4ce98e4b870b63a0c634bd96c504419f6 (patch)
treea4eb7863f51e507357d80715cc5c0ed2b794270d /xcomp
parent9a6ad15ba103ec7aee2da66f59e371bd863f410c (diff)
downloaderlang-e89c2af4ce98e4b870b63a0c634bd96c504419f6.tar.gz
Update xcomp config for AVR32/buildroot-v3.0.0
With Atmel's recent buildroot-v3.0.0 release for AVR32, some changes were needed in order to properly cross compile Erlang/OTP for the platform. Tested with R14B04 on a mk I NGW100.
Diffstat (limited to 'xcomp')
-rw-r--r--xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf b/xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf
index f691c6cfd1..31f5306c1a 100644
--- a/xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf
+++ b/xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf
@@ -59,7 +59,7 @@ erl_xcomp_host=avr32-atmel-linux-gnu
# * `erl_xcomp_configure_flags' - Extra configure flags to pass to the
# `configure' script.
-#erl_xcomp_configure_flags=
+erl_xcomp_configure_flags="--disable-hipe --disable-threads --disable-smp"
## -- Cross Compiler and Other Tools -------------------------------------------
@@ -73,7 +73,7 @@ erl_xcomp_host=avr32-atmel-linux-gnu
CC=avr32-linux-gcc
# * `CFLAGS' - C compiler flags.
-#CFLAGS=
+CFLAGS="-O -Dfinite=__finite"
# * `STATIC_CFLAGS' - Static C compiler flags.
#STATIC_CFLAGS=