diff --git a/DataExtractionOSM/src/net/osmand/render/default.render.xml b/DataExtractionOSM/src/net/osmand/render/default.render.xml
index e9401103ed..3bc555e16a 100644
--- a/DataExtractionOSM/src/net/osmand/render/default.render.xml
+++ b/DataExtractionOSM/src/net/osmand/render/default.render.xml
@@ -32,7 +32,7 @@
-
+
@@ -312,47 +312,46 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
@@ -1074,7 +1073,7 @@
-
+
@@ -1086,7 +1085,7 @@
-
+
@@ -1099,7 +1098,8 @@
-
+
+
@@ -1142,7 +1142,8 @@
-
+
+
diff --git a/Osmand-kernel/Makefile.vars b/Osmand-kernel/Makefile.vars
index e046945eb3..5f3e278c6a 100755
--- a/Osmand-kernel/Makefile.vars
+++ b/Osmand-kernel/Makefile.vars
@@ -115,7 +115,7 @@ $(error Set JAVA_HOME environment variable)
STATICLIB_EXT := a
DYNAMICLIB_EXT := so
LIBRARY_PREFIX := lib
- DYNAMICLIB_FLAGS := -shared -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new
+ DYNAMICLIB_FLAGS := -shared -Wl,--dynamic-list-cpp-new
CFLAGS += # empty
CXXFLAGS += -std=gnu++0x
endif
@@ -141,9 +141,9 @@ endif
# Modify compiler flags
ifeq ($(ARCH),i386)
- CFLAGS += -m32
- CXXFLAGS += -m32
- LDFLAGS += -m32
+ CFLAGS += -m32 -fPIC
+ CXXFLAGS += -m32 -fPIC
+ LDFLAGS += -m32 -fPIC
else ifeq ($(ARCH),x86_64)
CFLAGS += -m64 -fPIC
CXXFLAGS += -m64 -fPIC