icecc/icecc-0.9.7-arm_platform_map.patch

14 lines
688 B
Diff

diff -Nru icecc-0.9.7.orig/services/scheduler.cpp icecc-0.9.7/services/scheduler.cpp
--- icecc-0.9.7.orig/services/scheduler.cpp 2009-04-30 11:48:34.000000000 +0200
+++ icecc-0.9.7/services/scheduler.cpp 2012-02-24 17:24:11.679948884 +0100
@@ -597,6 +597,9 @@
platform_map.insert( make_pair( string( "ppc" ), string( "ppc64" ) ) );
platform_map.insert( make_pair( string( "s390" ), string( "s390x" ) ) );
+
+ platform_map.insert( make_pair( string( "armv7l" ), string( "armv5tel" ) ) );
+ platform_map.insert( make_pair( string( "armv5tel" ), string( "armv7l" ) ) );
}
multimap<string, string>::const_iterator end = platform_map.upper_bound( target );