]> git.tuebingen.mpg.de Git - osl.git/commit
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)
commitedae5f1e75eaa5f8f97753b883ebddd51cb6a111
treecca837d5379c89e3bde4f71738683dbd8a26bd98
parentaad03a8d23774d258ab90dadde119db15f26ec38
build: Prefix CFLAGS and friends with OSL_.

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
Makefile