From 002c3ee0d069acfab0148258b1e59014e0a74aa9 Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Fri, 31 Jan 2014 09:25:10 +0100 Subject: Allow making the system with --enable-native-libs The HiPE compiler crashes when trying to compile these files because it does not currently support maps. So, add a -compile(no_native) attribute to these files to allow the system to be made even when configured with --enable-native-libs. This is a temporary fix and will be removed when the HiPE compiler gets proper support for maps. --- lib/stdlib/src/maps.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/stdlib/src/maps.erl') diff --git a/lib/stdlib/src/maps.erl b/lib/stdlib/src/maps.erl index 41de174e7d..57b5072639 100644 --- a/lib/stdlib/src/maps.erl +++ b/lib/stdlib/src/maps.erl @@ -43,6 +43,8 @@ values/1 ]). +-compile(no_native). + %% Shadowed by erl_bif_types: maps:get/3 -spec get(Key,Map) -> Value when Key :: term(), -- cgit v1.2.3