qt5base: activate mips dsp extension when needed.

When OpenWrt normally uses the mips dps extensions it adds this to the
CFLAGS which are also given to qt5base. When we configure qt5base
without dsp extension, but give the mdsp in the CFLAGS the compilation
will fail.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens
2015-11-27 00:28:12 +01:00
parent 8dacc98083
commit 802285df38

View File

@@ -259,8 +259,8 @@ define Build/Configure
-no-sse4.2 \ -no-sse4.2 \
-no-avx \ -no-avx \
-no-avx2 \ -no-avx2 \
-no-mips_dsp \ $(if $(findstring -mdsp,$(TARGET_CFLAGS)),,-no-mips_dsp)\
-no-mips_dspr2 \ $(if $(findstring -mdspr2,$(TARGET_CFLAGS)),,-no-mips_dspr2)\
-force-pkg-config \ -force-pkg-config \
-system-zlib \ -system-zlib \
-mtdev \ -mtdev \