forked from Imagelibrary/rtems
Append %_bindir to PATH only if %_prefix != /usr.
This commit is contained in:
@@ -201,7 +201,9 @@ chmod +x brp-rtems-compress
|
||||
%if %build_libgcj
|
||||
optargs="--enable-libgcj"
|
||||
%endif
|
||||
%if "%{_prefix}" != "/usr"
|
||||
export PATH="%{_bindir}:${PATH}"
|
||||
%endif
|
||||
../gcc-%{gcc_version}/configure \
|
||||
--prefix=%{_prefix} \
|
||||
--bindir=%{_bindir} \
|
||||
|
||||
Reference in New Issue
Block a user