From 504cdd3b0e975c2b9c0682abbad5e62185bd7cc9 Mon Sep 17 00:00:00 2001 From: asterix Date: Fri, 6 Nov 2009 09:16:30 +0000 Subject: [PATCH] Add some gcc flags. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3106 38d2e660-2303-0410-9eaa-f027e97ec537 --- examples/triface/triface.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/triface/triface.mk b/examples/triface/triface.mk index 68c8b721..140dcc73 100644 --- a/examples/triface/triface.mk +++ b/examples/triface/triface.mk @@ -55,7 +55,8 @@ triface_CSRC = \ triface_PCSRC += bertos/mware/formatwr.c -triface_CFLAGS = -O2 -D'ARCH=(ARCH_TRIFACE)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' -fno-strict-aliasing -Iexamples/triface -Ibertos/cpu/avr +triface_CFLAGS = -O2 -D'ARCH=(ARCH_TRIFACE)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' -fno-strict-aliasing -fwrapv -Iexamples/triface/boot -Ibertos/cpu/avr +ng -Iexamples/triface -Ibertos/cpu/avr triface_LDFLAGS = -Wl triface_PROGRAMMER_CPU = atmega1281 @@ -88,7 +89,8 @@ boot_CSRC = \ boot_PREFIX = avr- -boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' -Iexamples/triface/boot -Ibertos/cpu/avr +boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -D'CPU_FREQ=(14745600UL)' -D'WIZ_AUTOGEN' -fno-strict-aliasing -fwrapv -Iexamples/triface/boot -Ibertos/cpu/avr + -Iexamples/triface/boot -Ibertos/cpu/avr boot_CFLAGS = -Os -mcall-prologues boot_LDFLAGS = -Wl,--relax -Wl,--section-start=.text=$(BOOT_ADDR_START) -- 2.25.1