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