diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-04-27 20:03:01 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2017-04-27 20:03:01 +0000 |
commit | f7f8062f5415530f096aa6a3c3df6d4920587a9c (patch) | |
tree | 11787202c6192b85ef5c7bea8236d9af14c4cc7e | |
parent | 9119a37c76b469275735171e67a7ba28371c6e3f (diff) |
PR bootstrap/80531
* configure.tgt (*-*-aix*): Add -frandom-seed=$@ to XCFLAGS to avoid
bootstrap compare failures.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@247350 138bc75d-0d04-0410-961f-82ee72b054a4
-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 633ba37a62b..ca29cf773c3 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> * testsuite/libgomp.c/target-36.c: New testcase. diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 77e73f01f1a..74d95a570c7 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*-*-*) |