[Debian GNUstep maintainers] Bug#719622: gnustep-make: CFLAGS is ignored

Nicolas Boulenguez nicolas at debian.org
Tue Aug 13 17:28:55 UTC 2013


Package: gnustep-make
Version: 2.6.2-2.1
Severity: normal
Tags: upstream patch

Hello. Please consider the following minimal scenario.

-- Content of main.c
int main (void) { return (0); }

-- Content of GNUmakefile
include $(GNUSTEP_MAKEFILES)/common.make
CTOOL_NAME := my
my_C_FILES := main.c
include $(GNUSTEP_MAKEFILES)/ctool.make

-- Compile with
gs_make messages=yes CFLAGS=-DCFLAGS_from_command_line

Affecting CFLAGS on the command line should have an effect, as
documented, and like similar variables CPPFLAGS and OBJCFLAGS.

I suggest the attached diff.


More information about the pkg-GNUstep-maintainers mailing list