diff options
author | Alan Modra <amodra@gmail.com> | 2018-12-20 11:38:14 +1030 |
---|---|---|
committer | Alan Modra <amodra@gcc.gnu.org> | 2018-12-20 11:38:14 +1030 |
commit | 59faa32efd1416d7f27ee3798c0c8c94583310de (patch) | |
tree | 35e2b1578a79e3daf56f39638383cf37a1d9b6d9 /gcc/config/rs6000/sysv4.h | |
parent | a60d3a727f270fc2d4deac2e2c31b3f1328b4bd5 (diff) | |
download | gcc-59faa32efd1416d7f27ee3798c0c8c94583310de.zip gcc-59faa32efd1416d7f27ee3798c0c8c94583310de.tar.gz gcc-59faa32efd1416d7f27ee3798c0c8c94583310de.tar.bz2 |
[RS6000] Fix non-linux powerpc breakage
svn r266496, git commit ab6b1bb456f broke non-linux powerpc builds
due to GNU_USER_DYNAMIC_LINKER being undefined.
* config/rs6000/sysv4.h (GNU_USER_DYNAMIC_LINKER): Define.
From-SVN: r267292
Diffstat (limited to 'gcc/config/rs6000/sysv4.h')
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 0d84f4f..598da25 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -761,6 +761,10 @@ GNU_USER_TARGET_CC1_SPEC #define MUSL_DYNAMIC_LINKER \ "/lib/ld-musl-powerpc" MUSL_DYNAMIC_LINKER_E "%{msoft-float:-sf}.so.1" +#ifndef GNU_USER_DYNAMIC_LINKER +#define GNU_USER_DYNAMIC_LINKER GLIBC_DYNAMIC_LINKER +#endif + #define LINK_OS_LINUX_SPEC "-m elf32ppclinux %{!shared: %{!static: \ %{rdynamic:-export-dynamic} \ -dynamic-linker " GNU_USER_DYNAMIC_LINKER "}}" |