spandsp3: prevent host include search paths 573/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 20 Sep 2020 11:40:56 +0000 (13:40 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 20 Sep 2020 11:46:01 +0000 (13:46 +0200)
commit64f5323a280d267bd1ebc022586489f490da569f
tree3f708aaa395251df24da2f71d4d357f1343c94fd
parent10c68488ee71a4c51e7dab8f3842f162548cc269
spandsp3: prevent host include search paths

Note the host include path for libxml2 below. This shouldn't cause an
issue because libxml2 is never used. But better safe than sorry as the
configure script probes other host include paths as well.

/bin/sh ../libtool  --tag=CC   --mode=compile ccache_cc -DHAVE_CONFIG_H -I.  -I.. -I/openwrt/staging_dir/target-mips_24kc_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/usr/include -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include/fortify -I/openwrt/staging_dir/toolchain-mips_24kc_gcc-10.2.0_musl/include  -I/usr/include/libxml2 -DNDEBUG -Wunused-but-set-variable -std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -DHAVE_VISIBILITY=1  -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/openwrt/build_dir/target-mips_24kc_musl/spandsp3-2020-08-14-6ec23e5a=spandsp3-2020-08-14-6ec23e5a -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro   -MT dds_float.lo -MD -MP -MF .deps/dds_float.Tpo -c -o dds_float.lo dds_float.c

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/spandsp3/Makefile
libs/spandsp3/patches/02-do-not-check-for-libxml2.patch [new file with mode: 0644]