diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-04-02 08:15:07 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-04-02 08:23:13 +0530 |
commit | 90e98b832b7293b03248621f06e1431447c3b295 (patch) | |
tree | 2d17ea7c55c003bb3d815a8ed16eafc4ee2eee2f /Makefile | |
parent | fb5963facc25e3e6fde5dca99de0d7120681371d (diff) | |
download | nnn-90e98b832b7293b03248621f06e1431447c3b295.tar.gz |
Revert non-portable optimization
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -5,8 +5,7 @@ MANPREFIX = $(PREFIX)/man #CPPFLAGS = -DDEBUG #CFLAGS = -g -CFLAGS = -O3 -march=native -fno-asynchronous-unwind-tables -fdata-sections \ - -ffunction-sections -Wl,--gc-sections +CFLAGS = -O3 -march=native -s LDLIBS = -lcurses DISTFILES = nnn.c strlcat.c strlcpy.c util.h config.def.h \ @@ -18,9 +17,6 @@ all: $(BIN) $(BIN): $(OBJ) $(CC) $(CFLAGS) -o $@ $(OBJ) $(LDFLAGS) $(LDLIBS) - strip -S --strip-unneeded --remove-section=.note.gnu.gold-version \ - --remove-section=.comment --remove-section=.note \ - --remove-section=.note.gnu.build-id --remove-section=.note.ABI-tag $(BIN) nnn.o: util.h config.h strlcat.o: util.h @@ -47,4 +43,4 @@ dist: rm -rf nnn-$(VERSION) clean: - rm -f config.h $(BIN) $(OBJ) nnn-$(VERSION).tar.gz + rm -f $(BIN) $(OBJ) nnn-$(VERSION).tar.gz |