mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Be able to disable everything X11.
This commit is contained in:
parent
04e3fe185f
commit
cb153869ca
4
Makefile
4
Makefile
@ -292,8 +292,10 @@ endif
|
||||
|
||||
CFLAGS += -Wall $(OPTIMIZE_FLAG) $(INCLUDE_DIRS) -g -I. -pedantic
|
||||
ifeq ($(CXX_BUILD), 1)
|
||||
LD = $(CXX)
|
||||
CFLAGS += -std=c++0x -xc++ -D__STDC_CONSTANT_MACROS
|
||||
else
|
||||
LD = $(CC)
|
||||
ifneq ($(findstring icc,$(CC)),)
|
||||
CFLAGS += -std=c99 -D_GNU_SOURCE
|
||||
else
|
||||
@ -312,7 +314,7 @@ config.mk: configure qb/*
|
||||
@exit 1
|
||||
|
||||
retroarch: $(OBJ)
|
||||
$(Q)$(CXX) -o $@ $(OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS)
|
||||
$(Q)$(LD) -o $@ $(OBJ) $(LIBS) $(LDFLAGS) $(LIBRARY_DIRS)
|
||||
@$(if $(Q), $(shell echo echo LD $@),)
|
||||
|
||||
tools/retroarch-joyconfig: $(JOYCONFIG_OBJ)
|
||||
|
@ -160,6 +160,8 @@ fi
|
||||
check_pkgconf XML libxml-2.0
|
||||
check_pkgconf FREETYPE freetype2
|
||||
check_pkgconf X11 x11
|
||||
[ "$HAVE_X11" = "no" ] && HAVE_XEXT=no
|
||||
|
||||
check_pkgconf XEXT xext
|
||||
if [ "$HAVE_X11" = 'yes' ] && [ "$HAVE_XEXT" = 'yes' ]; then
|
||||
check_pkgconf XVIDEO xv
|
||||
|
@ -8,6 +8,7 @@ HAVE_NETPLAY=auto # Enable netplay support
|
||||
HAVE_CONFIGFILE=yes # Disable support for config file
|
||||
HAVE_OPENGL=yes # Disable OpenGL support
|
||||
HAVE_GLES=no # Use GLESv2 instead of desktop GL
|
||||
HAVE_X11=auto # Disable everything X11.
|
||||
HAVE_KMS=auto # Enable KMS context support
|
||||
HAVE_EGL=auto # Enable EGL context support
|
||||
HAVE_VG=auto # Enable OpenVG support
|
||||
|
Loading…
Reference in New Issue
Block a user