[PATCH] mkfs.ubifs: set CFLAGS/LDLIBS properly

Artem Bityutskiy dedekind at infradead.org
Thu Aug 21 03:18:58 EDT 2008


Hi,

On Wed, 2008-08-20 at 13:57 -0400, Mike Frysinger wrote:
> CFLAGS should only be set as a default instead of overriding the user's
> choices.  LDLIBS is for adding libraries, not LDFLAGS.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  mkfs.ubifs/Makefile |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)

Thanks, applied.

> -CFLAGS := $(CFLAGS) -Wall -O0 -ggdb
> -LDFLAGS := $(LDFLAGS) -lz -llzo2 -lm -luuid
> +CFLAGS ?= -O0 -ggdb

This is forgotten debugging hack leftover, I've removed it.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)




More information about the linux-mtd mailing list