handle cases where gcc/c++ use symlink for header directories (e.g. F-13's
update from 4.4.4->4.4.5 keeps headers in 4.4.4 but has a 4.4.5 symlink) (cherry picked from commit f73b06ba5c89db5fbe65507d751b0cc4ee39b9ee)
This commit is contained in:
parent
05504a3c90
commit
e60dbac558
@ -222,8 +222,9 @@ popd
|
||||
--enable-debug-runtime \
|
||||
--enable-jit \
|
||||
--enable-shared \
|
||||
--with-c-include-dirs=%{_includedir}:$(echo %{_prefix}/lib/gcc/*/*/include) \
|
||||
--with-cxx-include-root=$(echo %{_includedir}/c++/*) \
|
||||
--with-c-include-dirs=%{_includedir}:$(find %{_prefix}/lib/gcc/*/* \
|
||||
-maxdepth 0 -type d)/include \
|
||||
--with-cxx-include-root=$(find %{_includedir}/c++/* -maxdepth 0 -type d) \
|
||||
--with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os}
|
||||
|
||||
# FIXME file this
|
||||
|
Loading…
Reference in New Issue
Block a user