mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 15:15:40 +00:00
- Add -O3 optimization option for OSX and Linux.
- Revert netboard to disable by default.
This commit is contained in:
parent
34c24c0104
commit
c8f47cc52b
|
@ -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/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue