File Cygne-SDL.dif of Package cygne
--- src/Makefiles/Makefile.unix
+++ src/Makefiles/Makefile.unix 2007/08/29 13:30:43
@@ -8,10 +8,10 @@
SDLINCLUDE = /usr/local/include/SDL
SDLLIB = /usr/local/lib
-CFLAGS = -g -O1 -DUNIX -DTARGET_UNIX -DGCC -DUSES_16BIT_ONLY -D__SDL__ -fomit-frame-pointer -march=pentium \
- -mpentium -finline-functions -fexpensive-optimizations -funroll-loops -funroll-all-loops -pipe \
- -fschedule-insns2 -fstrength-reduce -malign-double -mfancy-math-387 -ffast-math -fforce-addr \
- -fforce-mem `sdl-config --cflags` \
+CFLAGS = -g $(RPM_OPT_FLAGS) -DUNIX -DTARGET_UNIX -DGCC -DUSES_16BIT_ONLY -D__SDL__ \
+ -finline-functions -funroll-loops -pipe \
+ -ffast-math \
+ `sdl-config --cflags` \
-L$(STDLIB) -L$(SDLLIB) -I$(STDINCLUDE) -I$(SDLINCLUDE)
LDFLAGS = $(CFLAGS)
@@ -39,7 +39,7 @@
%.o: %.cpp
$(THECC) -c $< -o $@
-cygne: $(OBJ) Makefile
+cygne: $(OBJ) #Makefile
$(LD) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
clean:
--- src/sdl/ddrawsdl.cpp
+++ src/sdl/ddrawsdl.cpp 2007/08/29 12:54:40
@@ -316,6 +316,7 @@
SDL_Flip(g_pDDSPrimary);
}
+#if 0
__inline void UpdateFrame_h_asm()
{
@@ -463,7 +464,7 @@
}
SDL_Flip(g_pDDSPrimary);
}
-
+#endif
--- src/sdl/getparamsdl.cpp
+++ src/sdl/getparamsdl.cpp 2007/08/29 12:58:12
@@ -8,6 +8,8 @@
#define C_PARSER
#endif
+#define C_PARSER
+
#ifndef C_PARSER
#include <fstream.h>
#include <string.h>