diff options
author | John Crispin <john@openwrt.org> | 2016-03-10 19:12:15 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-03-10 19:12:15 +0000 |
commit | 63dc46aa3a07be9259814a268e0f0e011af597a9 (patch) | |
tree | f8e092b137d79d148faca6e076e75473a00ab920 /include/hardening.mk | |
parent | be7962925927ab5cdc7a13fdb24d1b08792f8f23 (diff) | |
download | upstream-63dc46aa3a07be9259814a268e0f0e011af597a9.tar.gz upstream-63dc46aa3a07be9259814a268e0f0e011af597a9.tar.bz2 upstream-63dc46aa3a07be9259814a268e0f0e011af597a9.zip |
tools/cmake: fix compile on Alpine Linux
internal jsoncpp include order leads to multiple build
errors on Alpine Linux which uses musl libc
use include order from upstream jsoncpp
first error was:
In file included from /usr/include/c++/5.3.0/stdexcept:38:0,
from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/include/json/assertions.h:16,
from /home/..../openwrt/build_dir/host/cmake-3.4.3/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp:7:
/usr/include/c++/5.3.0/exception:35:9: error: '#pragma' is not allowed here
#pragma GCC visibility push(default)
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 48995
Diffstat (limited to 'include/hardening.mk')
0 files changed, 0 insertions, 0 deletions