diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-27 20:03:38 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-27 20:03:38 +0000 |
commit | bfbef160ba2a21c7e3317f7e721b4b4997170084 (patch) | |
tree | 280f0faec5ace123f95525e4697bbb8a0a52f295 /libgomp | |
parent | a08577bce241e8a3caf3cd5d8680d398cfaeeb2c (diff) |
PR bootstrap/80531
* configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid
bootstrap compare failures.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@247351 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 6 | ||||
-rw-r--r-- | libgomp/configure.tgt | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 806986654a9d..e494097a7d2d 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2017-04-27 Jakub Jelinek <jakub@redhat.com> + + PR bootstrap/80531 + * configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid + bootstrap compare failures. + 2017-04-20 Alexander Monakov <amonakov@ispras.ru> Backport from mainline diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 77e73f01f1ab..74d95a570c7f 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -149,6 +149,8 @@ case "${target}" in config_path="posix" # Need to link with -lpthread so libgomp.so is self-contained. XLDFLAGS="${XLDFLAGS} -lpthread" + # AIX needs -frandom-seed for bootstrap compare. + XCFLAGS="${XCFLAGS} -frandom-seed=\$@" ;; nvptx*-*-*) |