Browse Source

pulseaudio: do not build NEON with unsupported platforms

Unfortunately, meson's check is totally broken.

Fortunately, it's fairly easy to workaround.

Fixes compilation with all ARM platforms that don't support NEON.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
91e80e5442
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      sound/pulseaudio/Makefile

+ 9
- 0
sound/pulseaudio/Makefile View File

@ -145,6 +145,15 @@ endif
TARGET_LDFLAGS += -Wl,--gc-sections -liconv TARGET_LDFLAGS += -Wl,--gc-sections -liconv
define Build/Prepare
$(call Build/Prepare/Default)
ifneq ($(findstring arm,$(CONFIG_ARCH)),)
ifeq ($(findstring neon,$(CONFIG_TARGET_OPTIMIZATION)),)
$(SED) '/remap_neon\.c/d' $(PKG_BUILD_DIR)/src/pulsecore/meson.build
endif
endif
endef
define Build/InstallDev define Build/InstallDev
$(INSTALL_DIR) \ $(INSTALL_DIR) \
$(1)/usr/lib/pkgconfig \ $(1)/usr/lib/pkgconfig \


Loading…
Cancel
Save