aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorSimon Martin <simon@nasilyan.com>2024-06-07 16:14:58 +0200
committerSimon Martin <simon@nasilyan.com>2024-06-07 16:45:29 +0200
commita3d68b5155018817dd7eef5abbaeadf3959b8e5e (patch)
treeea9df7be35419f4d87a36a4a80835358d79432bd /libcpp
parentfb3e4c549d16d5050e10114439ad77149f33c597 (diff)
downloadgcc-a3d68b5155018817dd7eef5abbaeadf3959b8e5e.zip
gcc-a3d68b5155018817dd7eef5abbaeadf3959b8e5e.tar.gz
gcc-a3d68b5155018817dd7eef5abbaeadf3959b8e5e.tar.bz2
lto: Fix build on MacOS
The build fails on x86_64-apple-darwin19.6.0 starting with 5b6d5a886ee because vector is included after system.h and runs into poisoned identifiers. This patch fixes this by defining INCLUDE_VECTOR before including system.h. Validated by doing a full build on x86_64-apple-darwin19.6.0. gcc/lto/ChangeLog: * lto-partition.cc: Define INCLUDE_VECTOR to avoid running into poisoned identifiers.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions