yate: Prevent build failures due to inclusion of fortify-source headers
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Feb 2018 20:42:53 +0000 (21:42 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 3 Feb 2018 20:46:21 +0000 (21:46 +0100)
commit4cc2afdcdc6891c5546e94e8a15bb9c96864acd6
tree5dc3959e1c259a8583b4b2e88fc0291c9bf20830
parent3c2171a80d177918c80180638cbc19ffcf317f05
yate: Prevent build failures due to inclusion of fortify-source headers

yate cannot be compiled against fortify-source headers at this moment:

  In file included from /home/sk/tmp/lede/staging_dir/toolchain-x86_64_gcc-5.5.0_musl/include/fortify/unistd.h:23:0,
                   from ../yateclass.h:32,
                   from ../yatengine.h:29,
                   from ../yatephone.h:29,
                   from server/ysnmpagent.cpp:22:
  /home/sk/tmp/lede/staging_dir/toolchain-x86_64_gcc-5.5.0_musl/include/fortify/fortify-headers.h:20:42: error: type of 'TelEngine::strcat' is unknown

To work around this remove CPPFLAGS from CFLAGS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/yate/Makefile