Fixed textrel issue for AMRWB
This commit is contained in:
parent
9d39394699
commit
6d1a2e82de
2 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ LOCAL_C_INCLUDES += \
|
|||
$(LOCAL_PATH)/amrnb
|
||||
|
||||
#in this mode we try to dynamically link against the opencore-amr provided by android
|
||||
LOCAL_CFLAGS += -include ../build/opencore-amr/stubs.h
|
||||
LOCAL_CFLAGS += -include ../build/opencore-amr/stubs.h -fPIC
|
||||
endif
|
||||
|
||||
ifeq ($(BUILD_AMRNB),full)
|
||||
|
@ -278,7 +278,7 @@ LOCAL_C_INCLUDES += \
|
|||
endif
|
||||
|
||||
#turn off warnings since we cannot fix them
|
||||
LOCAL_CFLAGS += -w
|
||||
LOCAL_CFLAGS += -w -fPIC
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ LOCAL_C_INCLUDES += \
|
|||
$(LOCAL_PATH)/common/include/
|
||||
|
||||
#turn off warnings since we cannot fix them
|
||||
LOCAL_CFLAGS += -w
|
||||
LOCAL_CFLAGS += -w -fPIC
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
|
Loading…
Reference in a new issue