From e89c2af4ce98e4b870b63a0c634bd96c504419f6 Mon Sep 17 00:00:00 2001 From: smithwinston Date: Tue, 1 Nov 2011 06:40:23 -0400 Subject: 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. --- xcomp/erl-xcomp-avr32-atmel-linux-gnu.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xcomp') 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= -- cgit v1.2.3