Skip to content

Commit

Permalink
Disable debugger for libretro and rpi
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed May 7, 2020
1 parent cc3460b commit 99d07f7
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions platforms/libretro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_CXX:.cpp=.o)

INCLUDES += -I$(SOURCE_DIR)

CFLAGS += -Wall -D__LIBRETRO__ $(fpic)
CXXFLAGS += -Wall -D__LIBRETRO__ $(fpic)
CFLAGS += -DGEARBOY_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ $(fpic)
CXXFLAGS += -DGEARBOY_DISABLE_DISASSEMBLER -Wall -D__LIBRETRO__ $(fpic)

all: $(TARGET)

Expand Down
1 change: 0 additions & 1 deletion platforms/libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
#endif
#include "libretro.h"

#define GEARBOY_DISABLE_DISASSEMBLER
#include "../../src/gearboy.h"

#define VIDEO_WIDTH 160
Expand Down
2 changes: 1 addition & 1 deletion platforms/raspberrypi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GEARBOY_RPI_SRC=.

include $(GEARBOY_RPI_SRC)/Makefile.common

CFLAGS+=-Wall -O3 -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard
CFLAGS+=-Wall -O3 -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -DGEARBOY_DISABLE_DISASSEMBLER

LDFLAGS+=-L$(SDKSTAGE)/opt/vc/lib/ -lbrcmEGL -lbrcmGLESv2 -lopenmaxil -lvcos -lvchiq_arm -lm -lrt -lconfig++ -lbcm_host `sdl2-config --libs`

Expand Down
1 change: 0 additions & 1 deletion platforms/raspberrypi/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include "EGL/egl.h"
#include "EGL/eglext.h"

#define GEARBOY_DISABLE_DISASSEMBLER
#include "gearboy.h"
#include "../audio-shared/Sound_Queue.h"

Expand Down
2 changes: 1 addition & 1 deletion platforms/raspberrypi2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GEARBOY_RPI_SRC=../raspberrypi

include $(GEARBOY_RPI_SRC)/Makefile.common

CFLAGS+=-Wall -O3 -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
CFLAGS+=-Wall -O3 -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -DGEARBOY_DISABLE_DISASSEMBLER

LDFLAGS+=-L$(SDKSTAGE)/opt/vc/lib/ -lbrcmEGL -lbrcmGLESv2 -lopenmaxil -lvcos -lvchiq_arm -lm -lrt -lconfig++ -lbcm_host `sdl2-config --libs`

Expand Down
2 changes: 1 addition & 1 deletion platforms/raspberrypi3/x64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GEARBOY_RPI_SRC=../../raspberrypi

include $(GEARBOY_RPI_SRC)/Makefile.common

CFLAGS+=-Wall -O3 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
CFLAGS+=-Wall -O3 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DGEARBOY_DISABLE_DISASSEMBLER

LDFLAGS+=-L$(SDKSTAGE)/opt/vc/lib/ -lbrcmEGL -lbrcmGLESv2 -lopenmaxil -lvcos -lvchiq_arm -lm -lrt -lconfig++ -lbcm_host `sdl2-config --libs`

Expand Down
2 changes: 1 addition & 1 deletion platforms/raspberrypi3/x86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GEARBOY_RPI_SRC=../../raspberrypi

include $(GEARBOY_RPI_SRC)/Makefile.common

CFLAGS+=-Wall -O3 -march=armv7-a -mtune=cortex-a53 -mfpu=neon-vfpv4 -mfloat-abi=hard
CFLAGS+=-Wall -O3 -march=armv7-a -mtune=cortex-a53 -mfpu=neon-vfpv4 -mfloat-abi=hard -DGEARBOY_DISABLE_DISASSEMBLER

LDFLAGS+=-L$(SDKSTAGE)/opt/vc/lib/ -lbrcmEGL -lbrcmGLESv2 -lopenmaxil -lvcos -lvchiq_arm -lm -lrt -lconfig++ -lbcm_host `sdl2-config --libs`

Expand Down

0 comments on commit 99d07f7

Please sign in to comment.