summaryrefslogtreecommitdiffstats
path: root/development/bbcsdl/makefile-sdl-32.patch
blob: ee49430ac03e7a4bd096f416519836011039129f (plain)
--- makefile.ori	2023-11-18 16:05:00.344034123 +0000
+++ makefile	2023-11-18 18:10:30.536390339 +0000
@@ -20,19 +20,19 @@
 all: bbcsdl
 
 bbmain.o: bbmain.c BBC.h
-	$(CXX) -c -O2 -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
+	$(CXX) -c  -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
 
 bbexec.o: bbexec.c BBC.h
-	$(CXX) -c -O2 -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
+	$(CXX) -c  -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
 
 bbeval.o: bbeval.c BBC.h
-	$(CXX) -Wno-array-bounds -c -O2 -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
+	$(CXX) -Wno-array-bounds -c  -freg-struct-return -ffast-math -fno-finite-math-only $< -o $@
 
 bbasmb.o: bbasmb_x86_64.c BBC.h
 	$(CXX) -c -Os $< -o $@
 
 bbcmos.o: bbcmos.c bbcsdl.h
-	$(CXX) -Wno-unused-result -Wno-array-bounds -c -msse2 -O2 $< -o $@
+	$(CXX) -Wno-unused-result -Wno-array-bounds -c -msse2  $< -o $@
 
 bbccli.o: bbccli.c bbcsdl.h
 	$(CXX) -Wno-unused-result -c -Os $< -o $@
@@ -41,19 +41,19 @@
 	$(CXX) -c -Os $< -o $@
 
 bbcvtx.o: bbcvtx.c bbcsdl.h
-	$(CXX) -c -O3 $< -o $@
+	$(CXX) -c  $< -o $@
 
 bbcsdl.o: bbcsdl.c bbcsdl.h version.h
-	$(CXX) -Wno-unused-result -c -O2 $< -o $@
+	$(CXX) -Wno-unused-result -c  $< -o $@
 
 SDL2_gfxPrimitives.o: SDL2_gfxPrimitives.c SDL2_gfxPrimitives.h
-	$(CXX) -c -O2 $< -o $@
+	$(CXX) -c  $< -o $@
 
 SDL2_rotozoom.o: SDL2_rotozoom.c SDL2_rotozoom.h SDL2_gfxPrimitives.h SDL_stbimage.h stb_image.h dr_mp3.h
 	$(CXX) -c -Os -fPIC $< -o $@
 
 flood.o: flood.c
-	$(CXX) -c -O3 $< -o $@
+	$(CXX) -c  $< -o $@
 
 ifeq ($(LBITS),64)
 bbdata.o: ../../src/bbdata_x86_64.nas