diff options
| author | Ian Delaney <idella4@gentoo.org> | 2015-12-24 16:30:15 +0800 |
|---|---|---|
| committer | Ian Delaney <idella4@gentoo.org> | 2015-12-24 16:31:24 +0800 |
| commit | 98b51f2c00d5f8b675f111e97e759e8eeea6125e (patch) | |
| tree | b87a9367d03c5e98613c20b0fd107f8b9be43268 /app-editors/qemacs/files/qemacs-0.4.1_pre20150916-Makefile.patch | |
| parent | 3bf393ce26cc918d2da1dd69c842ba54a53c7067 (diff) | |
| parent | 6202dcf8e261f73a44bb94ba103555c3407bcbec (diff) | |
| download | gentoo-98b51f2c00d5f8b675f111e97e759e8eeea6125e.tar.gz gentoo-98b51f2c00d5f8b675f111e97e759e8eeea6125e.tar.bz2 gentoo-98b51f2c00d5f8b675f111e97e759e8eeea6125e.zip | |
Merge remote-tracking branch 'remotes/Coacher/fwknop-2.6.8-bump'
Pull request: https://github.com/gentoo/gentoo/pull/520
Diffstat (limited to 'app-editors/qemacs/files/qemacs-0.4.1_pre20150916-Makefile.patch')
| -rw-r--r-- | app-editors/qemacs/files/qemacs-0.4.1_pre20150916-Makefile.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-editors/qemacs/files/qemacs-0.4.1_pre20150916-Makefile.patch b/app-editors/qemacs/files/qemacs-0.4.1_pre20150916-Makefile.patch new file mode 100644 index 000000000000..53c71f21580d --- /dev/null +++ b/app-editors/qemacs/files/qemacs-0.4.1_pre20150916-Makefile.patch @@ -0,0 +1,38 @@ +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 + + ######################################################## |
