Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/libepoxy ensure PLATFORM_HAS_EGL and E...



details:   https://anonhg.NetBSD.org/src/rev/69177ece2d40
branches:  trunk
changeset: 1015856:69177ece2d40
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Nov 02 06:25:24 2020 +0000

description:
ensure PLATFORM_HAS_EGL and ENABLE_EGL are set consistently.

diffstat:

 external/mit/xorg/lib/libepoxy/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 018c43d8dcfc -r 69177ece2d40 external/mit/xorg/lib/libepoxy/Makefile
--- a/external/mit/xorg/lib/libepoxy/Makefile   Mon Nov 02 04:48:54 2020 +0000
+++ b/external/mit/xorg/lib/libepoxy/Makefile   Mon Nov 02 06:25:24 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2020/11/02 04:48:54 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2020/11/02 06:25:24 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -17,11 +17,12 @@
 SRCS+= \
        dispatch_egl.c \
        egl_generated_dispatch.c
-CPPFLAGS+=     -DENABLE_EGL=1
 EGL=1
 .else
 EGL=0
 .endif
+CPPFLAGS+=     -DPLATFORM_HAS_EGL=${EGL}
+CPPFLAGS+=     -DENABLE_EGL=${EGL}
 
 INCSDIR=${X11INCDIR}/epoxy
 INCS= \



Home | Main Index | Thread Index | Old Index