summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/dynamic.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:08:33 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-25 19:08:33 -0500
commit45b2f80485481b7e062de2ed92bbe11ee942a17b (patch)
tree20d1c3a306fc908eb0932cb429ee390eff74393d /system/gettext-tiny/dynamic.patch
parent27215e5b9e09dddfdf2dc796a213dc0221c42e88 (diff)
downloadpackages-45b2f80485481b7e062de2ed92bbe11ee942a17b.tar.gz
packages-45b2f80485481b7e062de2ed92bbe11ee942a17b.tar.bz2
packages-45b2f80485481b7e062de2ed92bbe11ee942a17b.tar.xz
packages-45b2f80485481b7e062de2ed92bbe11ee942a17b.zip
system/gettext-tiny: expand dong more
Diffstat (limited to 'system/gettext-tiny/dynamic.patch')
-rw-r--r--system/gettext-tiny/dynamic.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/gettext-tiny/dynamic.patch b/system/gettext-tiny/dynamic.patch
new file mode 100644
index 000000000..aa027d155
--- /dev/null
+++ b/system/gettext-tiny/dynamic.patch
@@ -0,0 +1,18 @@
+GDB/symbol splitting doesn't work on static binaries.
+
+For debugability, build dynamic.
+--- gettext-tiny-0.3.0_pre1/Makefile.old 2018-07-25 23:41:05.120000000 +0000
++++ gettext-tiny-0.3.0_pre1/Makefile 2018-07-25 23:42:51.350000000 +0000
+@@ -62,10 +62,10 @@
+ $(RANLIB) $@
+
+ msgmerge: $(OBJS)
+- $(CC) $(LDFLAGS) -static -o $@ src/msgmerge.o $(PARSEROBJS)
++ $(CC) $(LDFLAGS) -o $@ src/msgmerge.o $(PARSEROBJS)
+
+ msgfmt: $(OBJS)
+- $(CC) $(LDFLAGS) -static -o $@ src/msgfmt.o $(PARSEROBJS)
++ $(CC) $(LDFLAGS) -o $@ src/msgfmt.o $(PARSEROBJS)
+
+ xgettext:
+ cp src/xgettext.sh ./xgettext