diff --git a/Makefiles/Makefile.OSX b/Makefiles/Makefile.OSX index 30a90e1..faae55e 100644 --- a/Makefiles/Makefile.OSX +++ b/Makefiles/Makefile.OSX @@ -66,7 +66,7 @@ endif # OSX-specific # -PLATFORM_CXXFLAGS = $(SDL_CFLAGS) -DSUPERMODEL_OSX -F/Library/Frameworks/ +PLATFORM_CXXFLAGS = $(SDL_CFLAGS) -DSUPERMODEL_OSX -F/Library/Frameworks/ -O3 PLATFORM_LDFLAGS = $(SDL_LIBS) -lz -lm -lstdc++ -F/Library/Frameworks/ diff --git a/Makefiles/Makefile.UNIX b/Makefiles/Makefile.UNIX index dd7872a..5df12f5 100644 --- a/Makefiles/Makefile.UNIX +++ b/Makefiles/Makefile.UNIX @@ -63,7 +63,7 @@ SDL2_LIBS = `sdl2-config --libs` # UNIX-specific # -PLATFORM_CXXFLAGS = $(SDL2_CFLAGS) -Ofast +PLATFORM_CXXFLAGS = $(SDL2_CFLAGS) -O3 PLATFORM_LDFLAGS = $(SDL2_LIBS) -lGL -lGLU -lz -lm -lstdc++ -lpthread -lSDL2_net diff --git a/Makefiles/Options.inc b/Makefiles/Options.inc index b673941..f5761af 100644 --- a/Makefiles/Options.inc +++ b/Makefiles/Options.inc @@ -54,7 +54,7 @@ endif # # Enable support for Model3 Net Board emulation # -NET_BOARD = 1 +NET_BOARD = ifneq ($(filter $(strip $(NET_BOARD)),0 1),$(strip $(NET_BOARD))) override NET_BOARD = endif