EGL hangs on X11 and doesn't build without GLESv2.
https://github.com/hrydgard/ppsspp/issues/10626

--- CMakeLists.txt.orig	2017-12-05 13:51:51 UTC
+++ CMakeLists.txt
@@ -56,12 +56,6 @@ include(ccache)
 # Remove soon?
 set(USE_FFMPEG ON)
 
-if(NOT ANDROID AND NOT IOS)
-	if(ARM OR SIMULATOR)
-		set(USING_EGL ON)
-	endif()
-endif()
-
 if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
 	set(LINUX ON)
 	add_definitions(-D__STDC_CONSTANT_MACROS)
