Removes forced march setting and align-functions on x86, as they would override user's CFLAGS. --- qemacs-orig/Makefile +++ qemacs/Makefile @@ -29,32 +29,6 @@ cmd := endif -ifeq ($(CC),gcc) - CFLAGS += -Wall -g -O2 -funsigned-char - # do not warn about zero-length formats. - CFLAGS += -Wno-format-zero-length - LDFLAGS := -g -endif - -#include local compiler configuration file --include $(DEPTH)/cflags.mk - -ifdef TARGET_GPROF - CFLAGS += -p - LDFLAGS += -p -endif - -TLDFLAGS := $(LDFLAGS) - -ifdef TARGET_ARCH_X86 - #CFLAGS+=-fomit-frame-pointer - ifeq ($(GCC_MAJOR),2) - CFLAGS+=-m386 -malign-functions=0 - else - CFLAGS+=-march=i386 -falign-functions=0 - endif -endif - DEFINES=-DHAVE_QE_CONFIG_H ########################################################