Skip to content

Commit

Permalink
stlport: Don't force use of the prebuilt compiler
Browse files Browse the repository at this point in the history
Using the prebuilt compiler doesn't make sense and actually breaks
the build with gcc 4.7. (This should provide a little speedup on
4.6 builds as well)

Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
  • Loading branch information
Bernhard Rosenkraenzer authored and xoomdev committed Feb 18, 2012
1 parent 2b5d23a commit 63cf40e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Android.mk
Expand Up @@ -52,10 +52,10 @@ LOCAL_MODULE := libstlport
LOCAL_CFLAGS := $(libstlport_cflags)
LOCAL_CPPFLAGS := $(libstlport_cppflags)

ifneq ($(TARGET_ARCH),x86)
LOCAL_NDK_VERSION := 4
LOCAL_SDK_VERSION := 8
endif
#ifneq ($(TARGET_ARCH),x86)
#LOCAL_NDK_VERSION := 4
#LOCAL_SDK_VERSION := 8
#endif

include $(LOCAL_PATH)/libstlport.mk
include $(BUILD_SHARED_LIBRARY)
Expand All @@ -70,10 +70,10 @@ LOCAL_MODULE := libstlport_static
LOCAL_CFLAGS := $(libstlport_cflags)
LOCAL_CPPFLAGS := $(libstlport_cppflags)

ifneq ($(TARGET_ARCH),x86)
LOCAL_NDK_VERSION := 4
LOCAL_SDK_VERSION := 8
endif
#ifneq ($(TARGET_ARCH),x86)
#LOCAL_NDK_VERSION := 4
#LOCAL_SDK_VERSION := 8
#endif

include $(LOCAL_PATH)/libstlport.mk
include $(BUILD_STATIC_LIBRARY)

0 comments on commit 63cf40e

Please sign in to comment.