aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-03-18 22:58:35 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-03-18 22:58:35 -0500
commit9081917428815ddd214a7063c9815b730daa09e6 (patch)
tree4f4da5073ddee79df4997a055b9f9c9665b7b0db
parent87fe5c137edcfd147bd8b608e2980de1298de1e2 (diff)
downloadluancurses-9081917428815ddd214a7063c9815b730daa09e6.tar.gz
luancurses-9081917428815ddd214a7063c9815b730daa09e6.zip
build at -O2 by default
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0aee932..a41c17e 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ CC = gcc
INCLUDES = -I$(LUA_INCLUDEPATH)
DEFINES =
LIBS = -lcurses -l$(LUA_LIBNAME)
-COMMONFLAGS = -Werror -Wall -pedantic -O0 -g -pipe $(OS_FLAGS)
+COMMONFLAGS = -Werror -Wall -pedantic -O2 -g -pipe $(OS_FLAGS)
CFLAGS = -c $(INCLUDES) $(DEFINES) $(COMMONFLAGS)
LDFLAGS = $(LIBS) $(COMMONFLAGS) -shared