]> sigrok.org Git - libsigrokdecode.git/commit
configure.ac: Fix CFLAGS settings.
authorUwe Hermann <redacted>
Fri, 28 Dec 2012 16:03:20 +0000 (17:03 +0100)
committerUwe Hermann <redacted>
Fri, 28 Dec 2012 16:03:20 +0000 (17:03 +0100)
commit6ff4cd08a0e6d29dd7587173defb8bf17c0d9b62
tree7c255adf22d4a3889bb5c663334c8f7bb06f1c31
parent702fa251997d8e6ac4f71837e1e89d3d537df42a
configure.ac: Fix CFLAGS settings.

Don't override/overwrite CFLAGS in configure.ac, but rather amend it
with (currently) "-Wall -Wextra".

This properly allows users/packagers to do things like:

 ./configure (this will default to using "-g -O2" additionally)

 CFLAGS="-g -O2" ./configure (same as above)

 CFLAGS="" ./configure (no additional flags)

 CFLAGS="-g -O0" ./configure (disable optimization, e.g. for valgrind use)

 etc. etc.
configure.ac