summaryrefslogtreecommitdiffstats
path: root/scripts
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
parentff46ed6a2fd7c11d2dc964ce96ecfaaafdc4ad15 (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')
-rw-r--r--scripts/ChangeLog5
-rw-r--r--scripts/gccnewlib/gccnewlib.add2
2 files changed, 7 insertions, 0 deletions
diff --git a/scripts/ChangeLog b/scripts/ChangeLog
index bd7ff74eec..429043c8d8 100644
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,5 +1,10 @@
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
only if %_prefix != /usr.
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} \