aboutsummaryrefslogtreecommitdiff
path: root/ld
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 /ld
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 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/po/Make-in8
2 files changed, 10 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2b20454..9bf3c3e 100644
--- a/ld/ChangeLog
+++ b/ld/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 Alan Modra <amodra@gmail.com>
PR 22471
diff --git a/ld/po/Make-in b/ld/po/Make-in
index 05395af..732b4a6 100644
--- a/ld/po/Make-in
+++ b/ld/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 =