Enable code optimisation to improve quality of GCC warnings

Thu, 11 Apr 2013 09:36:53 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Thu, 11 Apr 2013 09:36:53 +0100
changeset 137
994d03cdcba2
parent 136
f7d78dfb45d0
child 138
d744db15cdf7

Enable code optimisation to improve quality of GCC warnings

Makefile file | annotate | diff | revisions
     1.1 diff -r f7d78dfb45d0 -r 994d03cdcba2 Makefile
     1.2 --- a/Makefile	Thu Apr 11 09:18:31 2013 +0100
     1.3 +++ b/Makefile	Thu Apr 11 09:36:53 2013 +0100
     1.4 @@ -167,8 +167,8 @@
     1.5  MAKE	=	make
     1.6  CC		=	gcc
     1.7  CXX		=	g++
     1.8 -CFLAGS	=	-Wall -pedantic -std=gnu99 $(EXT_CFLAGS)
     1.9 -CXXFLAGS=	-Wall -pedantic -std=gnu++0x $(EXT_CXXFLAGS)
    1.10 +CFLAGS	=	-O -Wall -pedantic -std=gnu99 $(EXT_CFLAGS)
    1.11 +CXXFLAGS=	-O -Wall -pedantic -std=gnu++0x $(EXT_CXXFLAGS)
    1.12  LDFLAGS	=	$(EXT_LDFLAGS)
    1.13  RM		=	rm
    1.14  STRIP	=	strip