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