diff options
Diffstat (limited to 'gcc/config/cris/linux.h')
-rw-r--r-- | gcc/config/cris/linux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/cris/linux.h b/gcc/config/cris/linux.h index 247e827d677..38f0a7ef8c9 100644 --- a/gcc/config/cris/linux.h +++ b/gcc/config/cris/linux.h @@ -110,7 +110,8 @@ along with GCC; see the file COPYING3. If not see #undef CRIS_LINK_SUBTARGET_SPEC #define CRIS_LINK_SUBTARGET_SPEC \ "-mcrislinux\ - -rpath-link include/asm/../..%s\ + %{B*:-rpath-link %*}\ + %{!nostdlib:-rpath-link ../sys-include/asm/../../lib%s}\ %{shared} %{static}\ %{symbolic:-Bdynamic} %{shlib:-Bdynamic} %{static:-Bstatic}\ %{!shared:%{!static:\ |