summaryrefslogtreecommitdiffstats
path: root/scripts/gccnewlib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-09-15 10:40:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-09-15 10:40:57 +0000
commit1d6b00e996cc6cb7f4a1106f5f251a05c143e3cc (patch)
tree7e9ca57b49abae5f04ab6ea3afcfef566e4723f1 /scripts/gccnewlib
parent2005-09-15 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-1d6b00e996cc6cb7f4a1106f5f251a05c143e3cc.tar.bz2
2005-09-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* gccnewlib/gccnewlib.add: Pass CC="%__cc $RPM_OPT_FLAGS" to configure.
Diffstat (limited to 'scripts/gccnewlib')
-rw-r--r--scripts/gccnewlib/gccnewlib.add2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gccnewlib/gccnewlib.add b/scripts/gccnewlib/gccnewlib.add
index a776cc54a9..4f9b05e401 100644
--- a/scripts/gccnewlib/gccnewlib.add
+++ b/scripts/gccnewlib/gccnewlib.add
@@ -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} \