diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-11 23:15:11 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-13 22:32:07 -0700 |
commit | 6b3e7fe997005d97aa04ec4457ec04a171338c8b (patch) | |
tree | c1d4746cd1c043f3b12c40a7051bfb96a7509f4a /meta-oe | |
parent | 027440e5f62e01ae96e2c830cf673d11389cbd66 (diff) | |
download | meta-openembedded-6b3e7fe997005d97aa04ec4457ec04a171338c8b.tar.gz |
freeglut: Use -fcommon always
This package does not compile with -fno-common yet
errors out like
| /mnt/b/yoe/master/build/tmp/work/armv7vet2hf-neon-yoe-linux-musleabi/freeglut/3.2.1-r0/recipe-sysroot-native/usr/bin/arm-yoe-linux-musleabi/arm-yoe-linux-musleabi-ld: CMakeFiles/freeglut.dir/src/fg_gl2.c.o:/usr/src/debug/freeglut/3.2.1-
r0/freeglut-3.2.1/src/fg_gl2.h:72: multiple definition of `fghBindBuffer'; CMakeFiles/freeglut.dir/src/fg_geometry.c.o:/usr/src/debug/freeglut/3.2.1-r0/freeglut-3.2.1/src/fg_gl2.h:72: first defined here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb b/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb index 851641c08..6ef9f74c7 100644 --- a/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb +++ b/meta-oe/recipes-graphics/freeglut/freeglut_3.2.1.bb | |||
@@ -12,6 +12,9 @@ inherit cmake features_check | |||
12 | # depends on virtual/libx11, virtual/libgl | 12 | # depends on virtual/libx11, virtual/libgl |
13 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | 13 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
14 | 14 | ||
15 | # Do not use -fno-common, check back when upgrading to new version it might not be needed | ||
16 | CFLAGS += "-fcommon" | ||
17 | |||
15 | PROVIDES += "mesa-glut" | 18 | PROVIDES += "mesa-glut" |
16 | 19 | ||
17 | DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr" | 20 | DEPENDS = "virtual/libx11 libxmu libxi virtual/libgl libglu libxrandr" |