Makefile: CFLAGS, LDFLAGS
commit66d0930cf68e6acf62bd505e0365e783bd14f981
authorJan Engelhardt <jengelh@computergmbh.de>
Tue, 11 Dec 2007 14:22:42 +0000 (11 09:22 -0500)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Tue, 11 Dec 2007 14:22:42 +0000 (11 09:22 -0500)
tree6cf6158c859ae55b89ce100742e677662f2d027c
parent4122e65cb2132e28e0c18106a251875d2e68c35d
Makefile: CFLAGS, LDFLAGS

Split CFLAGS into CFLAGS (user part) and AM_CFLAGS (not-so-user part;
variable name taken from automake, but otherwise no relation).
Also add LDFLAGS.
This allows me to use `make CFLAGS="-O2 -fPIE" LDFLAGS="-pie"` without
dropping the other important (AM_CFLAGS) flags.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
---
 btrfs-progs/Makefile |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
Makefile