diff options
-rw-r--r-- | meta/recipes-graphics/glew/glew_2.0.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-graphics/glew/glew_2.0.0.bb b/meta/recipes-graphics/glew/glew_2.0.0.bb index 1c93ca07b6..f2ab75629c 100644 --- a/meta/recipes-graphics/glew/glew_2.0.0.bb +++ b/meta/recipes-graphics/glew/glew_2.0.0.bb | |||
@@ -24,6 +24,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', 'egl- | |||
24 | PACKAGECONFIG[opengl] = "SYSTEM='linux',,virtual/libx11 virtual/libgl libglu libxext libxi libxmu" | 24 | PACKAGECONFIG[opengl] = "SYSTEM='linux',,virtual/libx11 virtual/libgl libglu libxext libxi libxmu" |
25 | PACKAGECONFIG[egl-gles2] = "SYSTEM='linux-egl' GLEW_NO_GLU='-DGLEW_NO_GLU' LDFLAGS.GL='-lEGL -lGLESv2',,virtual/egl virtual/libgles2" | 25 | PACKAGECONFIG[egl-gles2] = "SYSTEM='linux-egl' GLEW_NO_GLU='-DGLEW_NO_GLU' LDFLAGS.GL='-lEGL -lGLESv2',,virtual/egl virtual/libgles2" |
26 | 26 | ||
27 | CFLAGS += "-D_GNU_SOURCE" | ||
27 | # Override SYSTEM (via PACKAGECONFIG_CONFARGS) to avoid calling config.guess, | 28 | # Override SYSTEM (via PACKAGECONFIG_CONFARGS) to avoid calling config.guess, |
28 | # we're cross-compiling. Pass our CFLAGS via POPT as that's the optimisation | 29 | # we're cross-compiling. Pass our CFLAGS via POPT as that's the optimisation |
29 | # variable and safely overwritten. | 30 | # variable and safely overwritten. |