Description: Honor build flags passed as command line arguments Author: Stefano Rivera Forwarded: not-needed Last-Update: 2019-10-17 Index: snowball-2.2.0/GNUmakefile =================================================================== --- snowball-2.2.0.orig/GNUmakefile +++ snowball-2.2.0/GNUmakefile @@ -170,8 +170,8 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=. JAVA_CLASSES = $(JAVA_SOURCES:.java=.class) JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class) -CFLAGS=-O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations -CPPFLAGS= +override_CFLAGS += -O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations +ovveride_CPPFLAGS += INCLUDES=-Iinclude