diff options
author | Iku <iku@yokattana.com> | 2017-02-07 10:43:01 +0100 |
---|---|---|
committer | Iku <iku@yokattana.com> | 2017-02-07 10:47:14 +0100 |
commit | aed24d7f90dc4769866f24ad01a46b2333949218 (patch) | |
tree | 5bf31d83d54b4aa5a168590ae72179e30604259f /src/Makefile | |
parent | b21f7e879f097d6ba1154446820d6cb26e484c27 (diff) |
Allow both backspace codes in any build
Backspace is represented differently on different operating systems. This
was previously addressed with OS flags but even between Linux
distributions and SSH clients the representation can differ.
This commit allows both representations in any build, removing the hack
flag.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/Makefile b/src/Makefile index 87e8b88..4daca5a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -49,15 +49,6 @@ NETBSD := #MACOSX := -DMACOSX MACOSX := -# If you have a problem with your BACKSPACE key in LINUX -# please set this flag. The problem is that different LINUX -# distros report different keycodes for the BACKSPACE key. -# Arch GNU / Linux would probably should set this. -# Debian GNU / Linux probably should not. -#BSKEY_HACK := -DBSKEY_HACK -BSKEY_HACK := - - # Set SIMPLE for lex.c if you don't want arrow keys or lex.c blows up #SIMPLE := -DSIMPLE @@ -143,7 +134,7 @@ UNDO := -DUNDO MAXROWS := 65536 #CFLAGS := -O2 -Wall -pipe -g -CFLAGS := $(LINUX) $(FREEBSD) $(NETBSD) $(MACOSX) $(BSKEY_HACK) -O2 -Wall -pipe -g -I/usr/include/libxml2 $(shell pkg-config --cflags ncursesw) +CFLAGS := $(LINUX) $(FREEBSD) $(NETBSD) $(MACOSX) -O2 -Wall -pipe -g -I/usr/include/libxml2 $(shell pkg-config --cflags ncursesw) CFLAGS := $(CFLAGS) $(USECOLORS) $(USELOCALE) $(UNDO) $(SIGVOID) $(DFLT_PAGER) CFLAGS := $(CFLAGS) $(IEEE_MATH) $(RINT) $(REGEX) $(LIBRARY) -DMAXROWS=$(MAXROWS) CFLAGS := $(CFLAGS) $(HELP_PATH) $(SNAME) $(NO_NOTIMEOUT) $(SIMPLE) $(XLS) $(XLSX) $(HISTORY_FILE) |