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>
-no-sse4.2 \
-no-avx \
-no-avx2 \
- -no-mips_dsp \
- -no-mips_dspr2 \
+ $(if $(findstring -mdsp,$(TARGET_CFLAGS)),,-no-mips_dsp)\
+ $(if $(findstring -mdspr2,$(TARGET_CFLAGS)),,-no-mips_dspr2)\
-force-pkg-config \
-system-zlib \
-mtdev \