mirror of
https://github.com/SourMesen/Mesen2.git
synced 2024-06-22 22:22:51 -04:00
Linux: Tweak makefile to try to fix dev builds not getting optimized
This commit is contained in:
parent
7f2a4dc9dc
commit
a8644c133d
|
@ -37,7 +37,7 @@ public:
|
|||
virtual ~AviRecorder();
|
||||
|
||||
bool Init(string filename) override;
|
||||
bool StartRecording(uint32_t width, uint32_t height, uint32_t bpp, uint32_t audioSampleRate, double fps);
|
||||
bool StartRecording(uint32_t width, uint32_t height, uint32_t bpp, uint32_t audioSampleRate, double fps) override;
|
||||
void StopRecording() override;
|
||||
|
||||
bool AddFrame(void* frameBuffer, uint32_t width, uint32_t height, double fps) override;
|
||||
|
|
6
makefile
6
makefile
|
@ -21,9 +21,6 @@ endif
|
|||
SDL2LIB := $(shell sdl2-config --libs)
|
||||
SDL2INC := $(shell sdl2-config --cflags)
|
||||
|
||||
CXXFLAGS = -fPIC -Wall --std=c++17 $(MESENFLAGS) $(SDL2INC) -I $(realpath ./) -I $(realpath ./Core) -I $(realpath ./Utilities) -I $(realpath ./Linux)
|
||||
CFLAGS = -fPIC -Wall $(MESENFLAGS)
|
||||
|
||||
LINKCHECKUNRESOLVED := -Wl,-z,defs
|
||||
|
||||
LINKOPTIONS :=
|
||||
|
@ -96,6 +93,9 @@ ifneq ($(STATICLINK),false)
|
|||
LINKOPTIONS += -static-libgcc -static-libstdc++
|
||||
endif
|
||||
|
||||
CXXFLAGS = -fPIC -Wall --std=c++17 $(MESENFLAGS) $(SDL2INC) -I $(realpath ./) -I $(realpath ./Core) -I $(realpath ./Utilities) -I $(realpath ./Linux)
|
||||
CFLAGS = -fPIC -Wall $(MESENFLAGS)
|
||||
|
||||
OBJFOLDER := obj.$(MESENPLATFORM)
|
||||
RELEASEFOLDER := bin/$(MESENPLATFORM)/Release
|
||||
|
||||
|
|
Loading…
Reference in a new issue