Fixed flags for dingux target

This commit is contained in:
jovonna 2020-01-06 21:15:14 -05:00
parent da4c95531e
commit 2b22eaa7e6
2 changed files with 5 additions and 6 deletions

View File

@ -1293,7 +1293,7 @@ else ifeq ($(HAVE_SDL), 1)
LIBS += $(SDL_LIBS)
else ifeq ($(HAVE_SDL_DINGUX), 1)
HAVE_SDL_COMMON = 1
DEFINES += -DHAVE_SDL -DHAVE_SDL_DINGUX
DEF_FLAGS += -DHAVE_SDL -DHAVE_SDL_DINGUX
OBJ += gfx/drivers/sdl_dingux_gfx.o
DEF_FLAGS += $(SDL_DINGUX_CFLAGS)
LIBS += $(SDL_DINGUX_LIBS)

View File

@ -2,6 +2,8 @@ CC = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-gcc
CXX = /opt/gcw0-toolchain/usr/bin/mipsel-gcw0-linux-uclibc-g++
PACKAGE_NAME = retroarch
DEBUG ?= 0
HAVE_7ZIP = 1
HAVE_AL = 1
# this freezes when switching back from menu
@ -98,13 +100,10 @@ OBJDIR_BASE := obj-unix
ifeq ($(DEBUG), 1)
OBJDIR := $(OBJDIR_BASE)/debug
CFLAGS ?= -O0 -g
CXXFLAGS ?= -O0 -g
DEFINES += -DDEBUG -D_DEBUG
DEF_FLAGS += -O0 -g -DDEBUG -D_DEBUG
else
OBJDIR := $(OBJDIR_BASE)/release
CFLAGS ?= -O2
CXXFLAGS ?= -O2
DEF_FLAGS += -O2 -DNDEBUG
endif
include Makefile.common