toolchain-external: wrap gfortran
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
54069ccabe
commit
c1d90e9bb7
@ -729,9 +729,9 @@ define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_BFIN_FLAT
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Build toolchain wrapper for preprocessor, C and C++ compiler and setup
|
# Build toolchain wrapper for preprocessor, C, C++ and Fortran compilers
|
||||||
# symlinks for everything else. Skip gdb symlink when we are building our
|
# and setup symlinks for everything else. Skip gdb symlink when we are
|
||||||
# own gdb to prevent two gdb's in output/host/usr/bin.
|
# building our own gdb to prevent two gdb's in output/host/usr/bin.
|
||||||
# The LTO support in gcc creates wrappers for ar, ranlib and nm which load
|
# The LTO support in gcc creates wrappers for ar, ranlib and nm which load
|
||||||
# the lto plugin. These wrappers are called *-gcc-ar, *-gcc-ranlib, and
|
# the lto plugin. These wrappers are called *-gcc-ar, *-gcc-ranlib, and
|
||||||
# *-gcc-nm and should be used instead of the real programs when -flto is
|
# *-gcc-nm and should be used instead of the real programs when -flto is
|
||||||
@ -746,7 +746,7 @@ define TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER
|
|||||||
*-ar|*-ranlib|*-nm) \
|
*-ar|*-ranlib|*-nm) \
|
||||||
ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%../..%') .; \
|
ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%../..%') .; \
|
||||||
;; \
|
;; \
|
||||||
*cc|*cc-*|*++|*++-*|*cpp) \
|
*cc|*cc-*|*++|*++-*|*cpp|*-gfortran) \
|
||||||
ln -sf toolchain-wrapper $$base; \
|
ln -sf toolchain-wrapper $$base; \
|
||||||
;; \
|
;; \
|
||||||
*gdb|*gdbtui) \
|
*gdb|*gdbtui) \
|
||||||
|
Loading…
Reference in New Issue
Block a user