meson: get opengl compilation flags from OPENGL_CFLAGS
commitde2d30051a460e220817b5b5ae6e86bd5609b2b7
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Sep 2020 12:41:17 +0000 (1 08:41 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 Sep 2020 09:43:16 +0000 (8 11:43 +0200)
treef952b7910621a33698012ec19443859ff61ee45b
parent215b0c2fa5c9864343373f5a3e6680611dabef20
meson: get opengl compilation flags from OPENGL_CFLAGS

The opengl compilation flags were added to QEMU_CFLAGS.  We do not
want them to be added to all compilation commands, so export them
also via OPENGL_CFLAGS rather than via QEMU_CFLAGS.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
meson.build