From c125ac6310cde375c7544875025d7301589fdedb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 17 Jul 2016 01:28:45 +0200 Subject: gettext-tiny: always use -fPIC for shared library usage --- package/gettext-tiny/patches/patch-Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'package/gettext-tiny') diff --git a/package/gettext-tiny/patches/patch-Makefile b/package/gettext-tiny/patches/patch-Makefile index c9584ef3c..dcc98f4bb 100644 --- a/package/gettext-tiny/patches/patch-Makefile +++ b/package/gettext-tiny/patches/patch-Makefile @@ -1,21 +1,22 @@ ---- gettext-tiny-0.0.3.orig/Makefile 2013-06-30 06:48:42.000000000 +0200 -+++ gettext-tiny-0.0.3/Makefile 2013-10-30 22:13:29.000000000 +0100 +--- gettext-tiny-0.0.4.orig/Makefile 2014-03-02 15:55:44.000000000 +0100 ++++ gettext-tiny-0.0.4/Makefile 2016-07-17 01:00:02.732966962 +0200 @@ -1,4 +1,4 @@ -prefix=/usr/local +prefix=/usr bindir=$(prefix)/bin includedir=$(prefix)/include libdir=$(prefix)/lib -@@ -19,7 +19,7 @@ ALL_INCLUDES = $(HEADERS) +@@ -19,7 +19,8 @@ ALL_INCLUDES = $(HEADERS) ALL_LIBS=libintl.a ALL_TOOLS=msgfmt msgmerge xgettext -CFLAGS=-O0 -fPIC -+CFLAGS?=-O0 -fPIC ++CFLAGS?=-O0 ++CFLAGS+=-fPIC AR ?= $(CROSS_COMPILE)ar RANLIB ?= $(CROSS_COMPILE)ranlib -@@ -47,22 +47,25 @@ libintl.a: $(LIBOBJS) +@@ -47,22 +48,25 @@ libintl.a: $(LIBOBJS) $(RANLIB) $@ msgmerge: $(OBJS) -- cgit v1.2.3