<div dir="ltr"><div>Dear folks<br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">You would definitely need to include pthread flag and disable all types of self-checks in wscripts.<br></div></blockquote><div><br></div><div>After manually specifying compiler flags, the rest of self checks isn't an issue.<br></div><div>Here's my OpenWrt packaging script:<br></div><div><a href="https://github.com/yoursunny/OpenWrt-packages/blob/82cd0c2b4cf309a3ebe07a1f9c91cbfaf182d933/named-data/ndn-cxx/Makefile#L13-L25">https://github.com/yoursunny/OpenWrt-packages/blob/82cd0c2b4cf309a3ebe07a1f9c91cbfaf182d933/named-data/ndn-cxx/Makefile#L13-L25</a></div><div>It's true cross-compiling and contains NO patching on wscripts.<br></div><div><br></div><div>Yours, Junxiao <br></div></div></div>