Fixed one bug in distribution commands, O3 optimization (O2 crashes)

This commit is contained in:
fabio.olimpieri 2014-06-04 17:28:07 +00:00
parent c5cd521b53
commit b2505849df

View File

@ -25,7 +25,7 @@ INCLUDES :=
# options for code generation # options for code generation
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
CFLAGS = -g -O2 -Wall -Wno-unused-but-set-variable $(MACHDEP) $(INCLUDE) -Wno-pointer-sign CFLAGS = -g -O3 -Wall -Wno-unused-but-set-variable $(MACHDEP) $(INCLUDE) -Wno-pointer-sign
CXXFLAGS = $(CFLAGS) CXXFLAGS = $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
@ -123,7 +123,7 @@ dist: $(BUILD)
mkdir -p $@/fbzx-wii/configurations mkdir -p $@/fbzx-wii/configurations
mkdir -p $@/fbzx-wii/poke mkdir -p $@/fbzx-wii/poke
mkdir -p $@/apps/fbzx-wii/doc mkdir -p $@/apps/fbzx-wii/doc
mkdir -p $@/apps/fbzx/allophones mkdir -p $@/fbzx-wii/fbzx/allophones
cp fbzx.dol $@/apps/fbzx-wii/boot.dol cp fbzx.dol $@/apps/fbzx-wii/boot.dol
cp meta.xml $@/apps/fbzx-wii/meta.xml cp meta.xml $@/apps/fbzx-wii/meta.xml
cp icon.png $@/apps/fbzx-wii/icon.png cp icon.png $@/apps/fbzx-wii/icon.png
@ -145,7 +145,7 @@ dist: $(BUILD)
cp sound/unselect_BE.raw $@/fbzx-wii/fbzx cp sound/unselect_BE.raw $@/fbzx-wii/fbzx
cp fbzx.net $@/fbzx-wii cp fbzx.net $@/fbzx-wii
cp AMSTRAD CAPABILITIES COPYING FAQ README README.TZX VERSIONS VERSIONS.wii $@/apps/fbzx-wii/doc cp AMSTRAD CAPABILITIES COPYING FAQ README README.TZX VERSIONS VERSIONS.wii $@/apps/fbzx-wii/doc
cp allophones/*.* $@/apps/fbzx/allophones cp allophones/*.* $@/fbzx-wii/fbzx/allophones
touch $@/fbzx-wii/tapes/dummy touch $@/fbzx-wii/tapes/dummy
touch $@/fbzx-wii/snapshots/dummy touch $@/fbzx-wii/snapshots/dummy
touch $@/fbzx-wii/snapshots/rom-cartridges/dummy touch $@/fbzx-wii/snapshots/rom-cartridges/dummy