]> sigrok.org Git - libsigrok.git/commitdiff
Build: Pass compiler flags from make to setup.py
authorDaniel Elstner <redacted>
Fri, 28 Aug 2015 23:54:17 +0000 (01:54 +0200)
committerUwe Hermann <redacted>
Sat, 29 Aug 2015 15:08:34 +0000 (17:08 +0200)
Extend setup.py to allow environment variables to be set on the
command line. Use that functionality to replace the pkg-config
invocations with flags passed on from make. Suppress the annoying
-Wstrict-prototypes warning by overriding the OPT variable.

Also move the "cd bindings/python" from Makefile.am to setup.py
to side-step problems with "cd" in make rules.

This also fixes bug #628.


No differences found