On Jul 9, 2017 2:37 PM, "Mats Wichmann" <mats at wichmann.us> wrote:

On 07/09/2017 12:59 AM, Natalia Theologou wrote:

> scons TARGET_OS=linux TARGET_ARCH=arm TARGET_TRANSPORT=IP SECURED=0
RELEASE=1 TC_PREFIX=arm-none-linux-gnueabi- TC_PATH=/opt/gcc-arm-none-
eabi-6-2017-q2-update/arm-none-eabi/bin


Hmmm....

somewhere in the bowels of our build scripts, if we're targeting linux:

if 'gcc' in compiler:
    thread_env.AppendUnique(CFLAGS = ['-Wall'])
    if target_os not in ['android']:
        thread_env.AppendUnique(CFLAGS = ['-pthread'])
        thread_env.AppendUnique(LIBS = ['pthread'])


well there's part of the problem.  a good build system would feature test
for pthreads, rather than assuming it's there just because the target is
not android. this is atrocious code.

luv, g
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170709/4c11e76a/attachment.html>

Reply via email to