diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-24 15:52:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-03-24 15:52:15 +0000 |
commit | 6d71a6f34565f4644b42d9532e0f05383577a36b (patch) | |
tree | 4bc99986523a4ff333b570b115ff6d9f1987c063 /contrib | |
parent | New. (diff) | |
download | rtems-6d71a6f34565f4644b42d9532e0f05383577a36b.tar.bz2 |
Add _bindir to $PATH.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/crossrpms/gdb/build.add | 3 | ||||
-rw-r--r-- | contrib/crossrpms/gdb/install.add | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/contrib/crossrpms/gdb/build.add b/contrib/crossrpms/gdb/build.add index a466a579c6..c2309262bf 100644 --- a/contrib/crossrpms/gdb/build.add +++ b/contrib/crossrpms/gdb/build.add @@ -1,4 +1,7 @@ %build +%if "%{_prefix}" != "/usr" + export PATH="%{_bindir}:${PATH}" +%endif mkdir -p build cd build CFLAGS="$RPM_OPT_FLAGS" \ diff --git a/contrib/crossrpms/gdb/install.add b/contrib/crossrpms/gdb/install.add index cdad4c07e7..8bcd43b784 100644 --- a/contrib/crossrpms/gdb/install.add +++ b/contrib/crossrpms/gdb/install.add @@ -1,4 +1,7 @@ %install +%if "%{_prefix}" != "/usr" + export PATH="%{_bindir}:${PATH}" +%endif rm -rf $RPM_BUILD_ROOT cd build |