]> Shamusworld >> Repos - virtualjaguar/commitdiff
Changed the optimize flags (should be better)
authorShamus Hammons <jlhamm@acm.org>
Sun, 9 Nov 2003 06:32:32 +0000 (06:32 +0000)
committerShamus Hammons <jlhamm@acm.org>
Sun, 9 Nov 2003 06:32:32 +0000 (06:32 +0000)
Makefile.unix
Makefile.win32

index b324be32c1e3933eeec3814103e3f1af9b44ef34..1471ee0a3b2058df5e240b65d298e0cded5395a7 100644 (file)
@@ -20,8 +20,9 @@ CC        = gcc
 LD        = gcc
 TARGET    = vj
 
-CFLAGS = -Wall -Wno-switch -Wno-non-virtual-dtor -O3 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
+CFLAGS = -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
                -fomit-frame-pointer `sdl-config --cflags`
+#              -fomit-frame-pointer `sdl-config --cflags` -g
 #              -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES
 
 LDFLAGS = $(CFLAGS)
@@ -81,7 +82,7 @@ obj/%.o: src/%.cpp
 
 vj: $(OBJS)
        $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
-       strip --strip-all vj$(EXESUFFIX)
+#      strip --strip-all vj$(EXESUFFIX)
 #      upx -9 vj$(EXESUFFIX)
 
 # Other stuff that has unusual dependencies
index 8f56e4a5f3ba6ef5c958dc2339f854e31c973237..21480fb3fef1c7590424c24fc4d4bd50d827f2aa 100644 (file)
@@ -20,8 +20,9 @@ CC         = gcc
 LD         = gcc
 TARGET     = vj
 
-CFLAGS = -Wall -Wno-switch -Wno-non-virtual-dtor -O3 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
+CFLAGS = -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D$(SYSTYPE) -Dstricmp="strcasecmp" \
                -fomit-frame-pointer `sdl-config --cflags`
+#              -fomit-frame-pointer `sdl-config --cflags` -g
 #              -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES
 
 LDFLAGS = $(CFLAGS)
@@ -81,7 +82,7 @@ obj/%.o: src/%.cpp
 
 vj: $(OBJS)
        $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
-       strip --strip-all vj$(EXESUFFIX)
+#      strip --strip-all vj$(EXESUFFIX)
 #      upx -9 vj$(EXESUFFIX)
 
 # Other stuff that has unusual dependencies