]> code.ossystems Code Review - openembedded-core.git/commitdiff
libomxil: Use -fcommon compiler option
authorKhem Raj <raj.khem@gmail.com>
Wed, 5 Aug 2020 17:50:09 +0000 (10:50 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Aug 2020 14:12:34 +0000 (15:12 +0100)
This ensures that when compiler defaults become -fno-common it still
keeps compiling

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb

index 271c2a30a3970576755555c2348a3809978718f6..2061c280e4ef7e27441ec378f918e24acb9db1cd 100644 (file)
@@ -26,6 +26,8 @@ EXTRA_OECONF += "--disable-doc --disable-Werror"
 
 PROVIDES += "virtual/libomxil"
 
+CFLAGS += "-fcommon"
+
 #
 # The .so files under ${libdir}/bellagio are not intended to be versioned and symlinked.
 # Make sure they get packaged in the main package.