File tree 2 files changed +5
-3
lines changed
src/common_audio/signal_processing
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 34
34
ifneq (,$(filter '-DWEBRTC_DETECT_ARM_NEON' '-DWEBRTC_ARCH_ARM_NEON', \
35
35
$(MY_WEBRTC_COMMON_DEFS ) ) )
36
36
WEBRTC_BUILD_NEON_LIBS := true
37
- # TODO(kma): Use MY_WEBRTC_COMMON_DEFS for Neon libraies in AECM, NS, and iSAC.
38
- MY_WEBRTC_COMMON_DEFS + = \
37
+ # TODO(kma): Use MY_ARM_CFLAGS_NEON for Neon libraies in AECM, NS, and iSAC.
38
+ MY_ARM_CFLAGS_NEON : = \
39
39
-mfpu=neon \
40
40
-mfloat-abi=softfp \
41
41
-flax-vector-conversions
Original file line number Diff line number Diff line change @@ -106,7 +106,9 @@ LOCAL_SRC_FILES := \
106
106
vector_scaling_operations_neon.s
107
107
108
108
# Flags passed to both C and C++ files.
109
- LOCAL_CFLAGS := $(MY_WEBRTC_COMMON_DEFS )
109
+ LOCAL_CFLAGS := \
110
+ $(MY_WEBRTC_COMMON_DEFS ) \
111
+ $(MY_ARM_CFLAGS_NEON )
110
112
111
113
LOCAL_C_INCLUDES := \
112
114
$(LOCAL_PATH ) /include \
You can’t perform that action at this time.
0 commit comments