aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorStefan Stroe <stroestefan@gmail.com>2017-11-29 18:12:14 +1030
committerAlan Modra <amodra@gmail.com>2017-11-29 20:10:52 +1030
commitca39c2f4dd0fedcaaee348be7a913f0c14876796 (patch)
tree5e980790c9a1da9524807e73c254c81333a26ace /gold
parented9c7ee03780b8d5acf091091ded29cd40df8254 (diff)
downloadgdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.zip
gdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.tar.gz
gdb-ca39c2f4dd0fedcaaee348be7a913f0c14876796.tar.bz2
Support --localedir, --datarootdir and --datadir
bfd/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. binutils/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. gas/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. gold/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. gprof/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. ld/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@. opcodes/ * po/Make-in (datadir): Define as @datadir@. (localedir): Define as @localedir@. (gnulocaledir, gettextsrcdir): Use @datarootdir@.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog6
-rw-r--r--gold/po/Make-in8
2 files changed, 10 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index f158a10..b0014d3 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,9 @@
+2017-11-29 Stefan Stroe <stroestefan@gmail.com>
+
+ * po/Make-in (datadir): Define as @datadir@.
+ (localedir): Define as @localedir@.
+ (gnulocaledir, gettextsrcdir): Use @datarootdir@.
+
2017-11-28 Cary Coutant <ccoutant@gmail.com>
* resolve.cc (Symbol_table::resolve): Allow multiply-defined absolute
diff --git a/gold/po/Make-in b/gold/po/Make-in
index b62082e..d589099 100644
--- a/gold/po/Make-in
+++ b/gold/po/Make-in
@@ -20,10 +20,10 @@ top_builddir = @top_builddir@
prefix = @prefix@
exec_prefix = @exec_prefix@
-datadir = $(prefix)/@DATADIRNAME@
-localedir = $(datadir)/locale
-gnulocaledir = $(prefix)/share/locale
-gettextsrcdir = $(prefix)/share/gettext/po
+datadir = @datadir@
+localedir = @localedir@
+gnulocaledir = @datarootdir@/locale
+gettextsrcdir = @datarootdir@/gettext/po
subdir = po
DESTDIR =