aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMotiejus Jakštys <[email protected]>2013-12-15 20:04:57 +0100
committerMotiejus Jakštys <[email protected]>2013-12-15 20:20:45 +0100
commit16c4d1edacb1feeb394ebb6c49e2c04fcbd4d1b2 (patch)
tree830daec8b34bce018b35dba1a969764a88e8c4bb
parent25237481ccccd3ddfa74582dc267632ad618ba30 (diff)
downloadotp-16c4d1edacb1feeb394ebb6c49e2c04fcbd4d1b2.tar.gz
otp-16c4d1edacb1feeb394ebb6c49e2c04fcbd4d1b2.tar.bz2
otp-16c4d1edacb1feeb394ebb6c49e2c04fcbd4d1b2.zip
Cross-compilation fix for TileraMDE-3.0.1.125620
-OPT:Olimit=0 -WOPT:lpre=off:spre=off:epre=off tile-gcc 4.4.3 does not accept these options: cc1: error: unrecognized command line option "-WOPT:lpre=off:spre=off:epre=off"
-rw-r--r--erts/emulator/Makefile.in1
-rw-r--r--xcomp/erl-xcomp-TileraMDE2.0-tilepro.conf1
2 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
index f442540f49..ef1e578e34 100644
--- a/erts/emulator/Makefile.in
+++ b/erts/emulator/Makefile.in
@@ -643,7 +643,6 @@ endif
ifneq ($(filter tile-%,$(TARGET)),)
$(OBJDIR)/beam_emu.o: beam/beam_emu.c
$(V_CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) \
- -OPT:Olimit=0 -WOPT:lpre=off:spre=off:epre=off \
$(INCLUDES) -c $< -o $@
else
# Usually the same as the default rule, but certain platforms (e.g. win32) mix
diff --git a/xcomp/erl-xcomp-TileraMDE2.0-tilepro.conf b/xcomp/erl-xcomp-TileraMDE2.0-tilepro.conf
index 84bf735ff2..fe0886ac8a 100644
--- a/xcomp/erl-xcomp-TileraMDE2.0-tilepro.conf
+++ b/xcomp/erl-xcomp-TileraMDE2.0-tilepro.conf
@@ -19,6 +19,7 @@
##
## File: erl-xcomp-TileraMDE2.0-tilepro.conf
## Author: Rickard Green
+## Tested on: TileraMDE-2.0, TileraMDE-3.0.1.125620
##
## -----------------------------------------------------------------------------
## When cross compiling Erlang/OTP using `otp_build', copy this file and set