]> Zhao Yanbai Git Server - minix.git/commit
Let the build system manage compilation flags 74/374/3
authorLionel Sambuc <lionel@minix3.org>
Wed, 27 Feb 2013 16:53:12 +0000 (17:53 +0100)
committerLionel Sambuc <lionel@minix3.org>
Fri, 8 Mar 2013 08:41:49 +0000 (09:41 +0100)
commitfbd82e76a48340fbe0edb0e9241ec97e5eeaa2ff
tree5d8b5c6aa0c76449d29a2ac5d9846bb765d4156e
parent10f4c3fbb17a47912ebb19eb36bdc859ab463671
Let the build system manage compilation flags

Do not hardcode warning and optimisation flags, otherwise the
main options (i.e. DBG, CPPFLAGS) will not work as expected.

You can still provide specific default by using DBG?=<value>.

Doing so leaves the opportunity to override the setting from the
commandline, while the default value from the build system is
then ignored for that particular package.

When crosscompiling, and using build.sh, adding -V DBG=<value> has
this same effect as make DBG=<value>.

Change-Id: Ic610e4d33b945acad64571e1431f1814291e2d84
lib/libgpio/Makefile
lib/libmthread/Makefile
lib/libpadconf/Makefile
lib/librefuse/Makefile
servers/inet/Makefile
share/mk/sys.mk