]> git.tuebingen.mpg.de Git - dss.git/commit
build: Combine CFLAGS and DEBUG_CFLAGS.
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 13 Jul 2017 17:21:11 +0000 (19:21 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 13 Jul 2017 20:54:03 +0000 (22:54 +0200)
commitddc8142e820ddf31c4f78fcebd359d1424f31390
tree7a39186787f8fe3d4d8fc35ea135e844588171ca
parentb01b9e2b9d8e63ea13119096dceb19f436aef544
build: Combine CFLAGS and DEBUG_CFLAGS.

We needed two sets of flags for gengetopt because the C code generated
by gengetopt would not compile cleanly with our rather strict set of
flags. With lopsub this is no longer necessary.

Moreover, it is considered good practice to not set CFLAGS at all but
to append the contents of this variable to the compile command. This
way the user may set the variable to override some of the options.

This commit gets rid of CFLAGS in favor of DSS_CFLAGS, which is just
the union of the CFLAGS and the DEBUG_CFLAGS variables we had before.
Makefile