2005-09-15 Ralf Corsepius <ralf.corsepius@rtems.org>

* gccnewlib/gccnewlib.add: Pass CC="%__cc $RPM_OPT_FLAGS" to
	configure.
This commit is contained in:
Ralf Corsepius
2005-09-15 10:40:57 +00:00
parent ff46ed6a2f
commit 1d6b00e996
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2005-09-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* gccnewlib/gccnewlib.add: Pass CC="%__cc $RPM_OPT_FLAGS" to
configure.
2005-09-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* gccnewlib/gccnewlib.add, gdb/gdb.add: Append %_bindir to PATH

View File

@@ -204,6 +204,8 @@ chmod +x brp-rtems-compress
%if "%{_prefix}" != "/usr"
export PATH="%{_bindir}:${PATH}"
%endif
CC="%{__cc} ${RPM_OPT_FLAGS}" \
../gcc-%{gcc_version}/configure \
--prefix=%{_prefix} \
--bindir=%{_bindir} \