Mercurial > hg > index.cgi
changeset 260:c5b1dd523ac4
Make default build use -O3
Because it yields such an impressive speedup, make the default build use -O3
instead of -g. If you need the debugging stuff, you can set CFLAGS=-g before
building.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 04 Feb 2013 20:35:47 -0700 |
parents | 0c4b3e8b4d0b |
children | f45b2a68c3da |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Feb 01 00:04:19 2013 -0700 +++ b/Makefile Mon Feb 04 20:35:47 2013 -0700 @@ -19,7 +19,7 @@ CPPFLAGS += -I lwlib -DPACKAGE_STRING='"lwtools 4.7+"' LDFLAGS += -L$(PWD)/lwlib -llw -CFLAGS ?= -g -Wall +CFLAGS ?= -O3 -Wall MAIN_TARGETS := lwasm/lwasm$(PROGSUFFIX) \ lwlink/lwlink$(PROGSUFFIX) \