]> git.tuebingen.mpg.de Git - osl.git/commitdiff
build: Prefix CFLAGS and friends with OSL_.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 17 May 2020 20:04:40 +0000 (22:04 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 7 Jun 2020 19:52:29 +0000 (21:52 +0200)
It is best practice to leave the "official" CPPFLAGS, CFLAGS and
LDFLAGS variables alone and just add them at the end of the command
line options. This way the user may override any of our settings
by setting the corresponding option in the official variable. For
example, to deactivate warnings about unused variables or functions,
one may compile with

make CFLAGS=-Wno-unused


No differences found