- Add -O3 optimization option for OSX and Linux.

- Revert netboard to disable by default.
This commit is contained in:
SpinDizzy 2020-12-30 16:05:25 +00:00
parent 34c24c0104
commit c8f47cc52b
3 changed files with 3 additions and 3 deletions

View file

@ -66,7 +66,7 @@ endif
# OSX-specific # 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/ PLATFORM_LDFLAGS = $(SDL_LIBS) -lz -lm -lstdc++ -F/Library/Frameworks/

View file

@ -63,7 +63,7 @@ SDL2_LIBS = `sdl2-config --libs`
# UNIX-specific # UNIX-specific
# #
PLATFORM_CXXFLAGS = $(SDL2_CFLAGS) -Ofast PLATFORM_CXXFLAGS = $(SDL2_CFLAGS) -O3
PLATFORM_LDFLAGS = $(SDL2_LIBS) -lGL -lGLU -lz -lm -lstdc++ -lpthread -lSDL2_net PLATFORM_LDFLAGS = $(SDL2_LIBS) -lGL -lGLU -lz -lm -lstdc++ -lpthread -lSDL2_net

View file

@ -54,7 +54,7 @@ endif
# #
# Enable support for Model3 Net Board emulation # Enable support for Model3 Net Board emulation
# #
NET_BOARD = 1 NET_BOARD =
ifneq ($(filter $(strip $(NET_BOARD)),0 1),$(strip $(NET_BOARD))) ifneq ($(filter $(strip $(NET_BOARD)),0 1),$(strip $(NET_BOARD)))
override NET_BOARD = override NET_BOARD =
endif endif