--- origsrc/mintty-2.9.9/src/Makefile 2019-03-16 07:13:38.000000000 +0100 +++ src/mintty-2.9.9/src/Makefile 2019-03-25 10:29:57.918318000 +0100 @@ -94,7 +94,7 @@ ifneq ($(platform), msys) # some nested functions) as they cause some security software to choke SECUR=-Wtrampolines endif -CFLAGS := -std=gnu99 -include std.h -Wall -Wextra -Wundef -Werror $(SECUR) +CFLAGS += -std=gnu99 -include std.h -Wall -Wextra -Wundef -Werror $(SECUR) ifeq ($(shell VER=`$(CC) -dumpversion`; expr $${VER%.*} '>=' 4.5), 1) CFLAGS += -mtune=atom @@ -117,8 +117,7 @@ ifdef DEBUG CFLAGS += -g else CPPFLAGS += -DNDEBUG CFLAGS += -fomit-frame-pointer -O2 - LDFLAGS += -s endif ifdef DMALLOC