Commit 7aab93651c05b3e18aa634f69f0c13feeb47d505 v1.0b2
authorMichel Pollet <buserror@gmail.com>
Fri, 18 May 2012 12:04:50 +0000 (13:04 +0100)
committerMichel Pollet <buserror@gmail.com>
Fri, 18 May 2012 12:04:50 +0000 (13:04 +0100)
Added -O2 for the examples too

Signed-off-by: Michel Pollet <buserror@gmail.com>
2 files changed:
Makefile.common
simavr/Makefile

index 6c52f1d777afb6e36f3dfac03d77d9cbe60c2cdf..75f687cf362127e77731db31a259cd8670181715 100644 (file)
@@ -29,6 +29,7 @@
 # get the first character of what the compiler says it is, unless it's 'x86_64' doh
 ARCH           = ${shell $(CC) -dumpmachine | sed -e 's/^x/i/' -e 's/\(.\).*/\1/'}
 
+CFLAGS         += -O2 -Wall
 ifeq ($(ARCH), i)
 CFLAGS         += -mfpmath=sse -msse2
 endif
index ae34c63b73bdcfea4360879dbdf25296f3aa2879..6155d5a798a935dafb60104faf1d19f443f6b44c 100644 (file)
 #      You should have received a copy of the GNU General Public License
 #      along with simavr.  If not, see <http://www.gnu.org/licenses/>.
 
-SIMAVR_VERSION = 1.0a10
+SIMAVR_VERSION = ${shell git tag |tail -1}
 SIMAVR_REVISION        = 1
 
 target = run_avr
 
-CFLAGS += -O3 -Wall -Werror
-
+CFLAGS += -Werror
 # tracing id useful especialy if you develop simavr core.
 # it otherwise eat quite a bit of few cycles, even disabled
 #CFLAGS        += -DCONFIG_SIMAVR_TRACE=1