forked from Imagelibrary/rtems
CFLAGS_OPTIMIZE_V = -O0
This commit is contained in:
@@ -18,11 +18,8 @@ RTEMS_BSP_FAMILY=eZKit533
|
|||||||
CPU_CFLAGS=
|
CPU_CFLAGS=
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
|
# gcc-4.2.0 segfaults on -OX > -O0
|
||||||
#CFLAGS_OPTIMIZE_V=-O4 -g
|
CFLAGS_OPTIMIZE_V=-O0
|
||||||
#CFLAGS_OPTIMIZE_V=-O2 -g
|
|
||||||
#CFLAGS_OPTIMIZE_V=-O1 -g
|
|
||||||
CFLAGS_OPTIMIZE_V=-O0 -g
|
|
||||||
|
|
||||||
# The following are definitions of make-exe which will work using ld as
|
# The following are definitions of make-exe which will work using ld as
|
||||||
# is currently required. It is expected that as of gcc 2.8, the end user
|
# is currently required. It is expected that as of gcc 2.8, the end user
|
||||||
@@ -37,4 +34,3 @@ define make-exe
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
# Miscellaneous additions go here
|
# Miscellaneous additions go here
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,7 @@ RTEMS_BSP_FAMILY=ep1a
|
|||||||
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
|
CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align
|
||||||
|
|
||||||
# optimize flag: typically -O2
|
# optimize flag: typically -O2
|
||||||
# NOTE: some level of -O may be actually required by inline assembler
|
CFLAGS_OPTIMIZE_V = -O2
|
||||||
#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
|
|
||||||
CFLAGS_OPTIMIZE_V = -O4
|
|
||||||
|
|
||||||
define make-exe
|
define make-exe
|
||||||
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
|
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
|
||||||
|
|||||||
Reference in New Issue
Block a user