diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2021-06-02 21:46:19 +0000 |
---|---|---|
committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2021-06-02 21:57:37 +0000 |
commit | 6b6fcbb6a4bfcf038a4db952a65d4513ba0f5056 (patch) | |
tree | 11dcec8b1a25287685106f5c6605ce297258dd33 /gcc/rust/backend | |
parent | 59b417323b25072aff2662f1f54f417f7b7ded61 (diff) | |
download | gcc-6b6fcbb6a4bfcf038a4db952a65d4513ba0f5056.zip gcc-6b6fcbb6a4bfcf038a4db952a65d4513ba0f5056.tar.gz gcc-6b6fcbb6a4bfcf038a4db952a65d4513ba0f5056.tar.bz2 |
rs6000: Override TARGET_RUST_OS_INFO in linux.h
Like 64-bit PowerPC, 32-bit PowerPC has the issue that
TARGET_RUST_OS_INFO is defined in both config/rs6000/sysv4.h
and config/rs6000/linux.h which triggers an error directive.
Thus, apply the same fix which undefines TARGET_RUST_OS_INFO
in linux.h first before redefining it, eliminating the error
directive.
gcc/ChangeLog:
2021-06-02 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
* config/rs6000/linux.h: Undefine TARGET_RUST_OS_INFO before
defining it.
Fixes #468
Diffstat (limited to 'gcc/rust/backend')
0 files changed, 0 insertions, 0 deletions