From 5ff29cede8e672eecc4d817dbc7fa311758116aa Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 30 Nov 2017 21:40:52 +0530 Subject: Fix #50: revert to -O2 optimization The while loop in xstrlcpy() breaks when -O3 is used. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3bce324..4bc2a18 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ VERSION = 1.5 PREFIX ?= /usr/local MANPREFIX = $(PREFIX)/share/man -CFLAGS += -O3 -Wall -Wextra -Wno-unused-parameter +CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter LDLIBS = -lreadline ifeq ($(shell pkg-config ncursesw && echo 1),1) -- cgit v1.2.3-70-g09d2