summaryrefslogtreecommitdiff
path: root/package/gettext-tiny
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-17 01:28:45 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-17 01:29:57 +0200
commitc125ac6310cde375c7544875025d7301589fdedb (patch)
treeadb2c65e3a4dc3e6ca3629f9ba4514aed98b1296 /package/gettext-tiny
parent3a291cf8d1639da30aa63ec0e25c3484af5fd359 (diff)
gettext-tiny: always use -fPIC for shared library usage
Diffstat (limited to 'package/gettext-tiny')
-rw-r--r--package/gettext-tiny/patches/patch-Makefile11
1 files changed, 6 insertions, 5 deletions
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)