summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/dynamic.patch
blob: aa027d155e6a13ee4402127166b9c92f5040232c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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