mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
b65c89d82c
commit
00be11a73f
@ -16,8 +16,9 @@ PACKAGECONFIG[gles] = "-DFREEGLUT_GLES=ON,-DFREEGLUT_GLES=OFF,"
|
||||
PACKAGECONFIG[wayland] = "-DFREEGLUT_WAYLAND=ON,-DFREEGLUT_WAYLAND=OFF,libxkbcommon"
|
||||
PACKAGECONFIG[demos] = "-DFREEGLUT_BUILD_DEMOS=ON,-DFREEGLUT_BUILD_DEMOS=OFF,"
|
||||
PACKAGECONFIG[x11] = ",,virtual/libx11 libice libxmu libglu libxrandr libxext"
|
||||
# Do not use -fno-common, check back when upgrading to new version it might not be needed
|
||||
CFLAGS += "-fcommon"
|
||||
# Add -Wno-implicit-function-declaration since it might be otherwise treated at
|
||||
# error by clang16+ and this is not really a problem
|
||||
CFLAGS += "-Wno-implicit-function-declaration"
|
||||
|
||||
PROVIDES += "mesa-glut"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user