welll...... as you can see the C flag got passed through, so either
you have a typo or something is off. You can see what sort of gcc
invocation was there, so execute it and figure out why it's not
working

On Mon, Aug 31, 2015 at 10:47 PM, Skip Montanaro
<skip.montan...@gmail.com> wrote:
>
> On Mon, Aug 31, 2015 at 3:16 PM, Maciej Fijalkowski <fij...@gmail.com>
> wrote:
>>
>> pypy should respect LDFLAGS and CFLAGS (but indeed not CPPFLAGS)
>
>
> Thanks. I gave that a try, but got the same error:
>
> blade% pwd
> /home/skipm/3rdParty/pypy-2.6.1-src/pypy/goal
> blade% LDFLAGS='-L /opt/TWWfsw/libexpat20/lib' CFLAGS='-I
> /opt/TWWfsw/libexpat20/Include' python ../../rpython/bin/rpython -Ojit
> targetpypystandalone
> ... lots of output elided ...
> [platform:execute] gcc -c -O3 -pthread -fomit-frame-pointer -Wall
> -Wno-unused -I /opt/TWWfsw/libexpat20/Include
> /tmp/usession-release-2.6.1-2/platcheck_54.c -o
> /tmp/usession-release-2.6.1-2/platcheck_54.o
> ...
> [translation:ERROR] CompilationError: CompilationError(err="""
> [translation:ERROR] /tmp/usession-release-2.6.1-2/platcheck_54.c:79:19:
> error: expat.h: No such file or directory
> [translation:ERROR] """)
>
>
> Skip
>
>
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to