package/zic: bump version to 2015e
[buildroot-gz.git] / package / libplayer / 0001-add-fpic.patch
blobe4b227f9114ae089628ab1b03aa160430569a021
1 Add -fPIC to CFLAGS
3 -fPIC is needed to build shared library code.
5 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 Index: b/src/Makefile
8 ===================================================================
9 --- a/src/Makefile
10 +++ b/src/Makefile
11 @@ -9,6 +9,7 @@
12 SHARED_LIBNAME_VERSION = $(SHARED_LIBNAME).$(VERSION)
13 SHARED_LIBNAME_MAJOR = $(SHARED_LIBNAME).$(shell echo $(VERSION) | cut -f1 -d.)
14 SHARED_LIBNAME_FLAGS = -shared -Wl,-soname,$(SHARED_LIBNAME_MAJOR)
15 +CFLAGS = -fPIC
17 ifeq ($(BUILD_STATIC),yes)
18 BUILD_RULES += lib_static