summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-03-13 19:46:00 -0700
committerKhem Raj <raj.khem@gmail.com>2023-03-13 19:48:02 -0700
commit00be11a73f8c5737bb9d663529c1e17a766bb480 (patch)
treefff8848e09544dc5b5075c6f73a5f8ec87c6fc9f
parentb65c89d82c758e5e1c1ddea9367899f196f9ce25 (diff)
downloadmeta-openembedded-00be11a73f8c5737bb9d663529c1e17a766bb480.tar.gz
freeglut: Drop -fcommon and add -Wno-implicit-function-declaration
-Wno-implicit-function-declaration is needed for keeping it going with new compiler's e.g. clang16 -fcommon is no longer needed with this version of freeglut Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
index 86b94149bc..b433900bb0 100644
--- a/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
+++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.4.0.bb
@@ -16,8 +16,9 @@ PACKAGECONFIG[gles] = "-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF,"
16PACKAGECONFIG[wayland] = "-DFREEGLUT_WAYLAND=ON,-DFREEGLUT_WAYLAND=OFF,libxkbcommon" 16PACKAGECONFIG[wayland] = "-DFREEGLUT_WAYLAND=ON,-DFREEGLUT_WAYLAND=OFF,libxkbcommon"
17PACKAGECONFIG[demos] = "-DFREEGLUT_BUILD_DEMOS=ON,-DFREEGLUT_BUILD_DEMOS=OFF," 17PACKAGECONFIG[demos] = "-DFREEGLUT_BUILD_DEMOS=ON,-DFREEGLUT_BUILD_DEMOS=OFF,"
18PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandr libxext" 18PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandr libxext"
19# Do not use -fno-common, check back when upgrading to new version it might not be needed 19# Add -Wno-implicit-function-declaration since it might be otherwise treated at
20CFLAGS += "-fcommon" 20# error by clang16+ and this is not really a problem
21CFLAGS += "-Wno-implicit-function-declaration"
21 22
22PROVIDES += "mesa-glut" 23PROVIDES += "mesa-glut"
23 24