From b386d491325b7cacacafb691c84ef27a22353b15 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 15 Sep 2005 10:38:26 +0000 Subject: Append %_bindir to PATH only if %_prefix != /usr. --- scripts/gdb/gdb.add | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/gdb/gdb.add') diff --git a/scripts/gdb/gdb.add b/scripts/gdb/gdb.add index f908c0bf93..b89cd71b75 100644 --- a/scripts/gdb/gdb.add +++ b/scripts/gdb/gdb.add @@ -86,7 +86,9 @@ cd .. mkdir -p build cd build +%if "%{_prefix}" != "/usr" export PATH="%{_bindir}:${PATH}" +%endif CFLAGS="$RPM_OPT_FLAGS" \ ../gdb-%{gdb_version}/configure \ --build=%_build --host=%_host \ -- cgit v1.2.3