Fixes samples Teapot/MoreTeapots armeabi-v7a-hard; native-audio debug build
Fixes two issues: 1. Remove redundant check for hard-float in Teapot/MoreTeapots and ndk_helper they depend. The ndk-build system add those flags already for armeabi-v7a-hard 2. native-audio in debug build: assert on the non-existance var Change-Id: Id6b2d38a264c2f2d0e0c7fe625991fcee1762800
This commit is contained in:
@@ -13,14 +13,6 @@ LOCAL_CFLAGS :=
|
||||
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv2
|
||||
LOCAL_STATIC_LIBRARIES := cpufeatures android_native_app_glue ndk_helper
|
||||
|
||||
ifneq ($(filter %armeabi-v7a,$(TARGET_ARCH_ABI)),)
|
||||
LOCAL_CFLAGS += -mhard-float -D_NDK_MATH_NO_SOFTFP=1
|
||||
LOCAL_LDLIBS += -lm_hard
|
||||
ifeq (,$(filter -fuse-ld=mcld,$(APP_LDFLAGS) $(LOCAL_LDFLAGS)))
|
||||
LOCAL_LDFLAGS += -Wl,--no-warn-mismatch
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
$(call import-module,android/ndk_helper)
|
||||
|
||||
Reference in New Issue
Block a user