diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-09-06 12:27:36 +0200 |
---|---|---|
committer | Florian Weimer <fw@gcc.gnu.org> | 2019-09-06 12:27:36 +0200 |
commit | 3c086f8decdc190602fb66cfec8f3cff16328142 (patch) | |
tree | 1902238a65deeaf90dfe4c439e44384b48b39d0e /libgomp | |
parent | 7d99a5b62c2672eff965fec12edac0a080d77257 (diff) | |
download | gcc-3c086f8decdc190602fb66cfec8f3cff16328142.zip gcc-3c086f8decdc190602fb66cfec8f3cff16328142.tar.gz gcc-3c086f8decdc190602fb66cfec8f3cff16328142.tar.bz2 |
Fix GCC_LINUX_FUTEX to work with C99 compilers
Without this change, libstdc++ is built without futex symbols if GCC
rejects implicit function declarations by default.
From-SVN: r275454
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 4 | ||||
-rwxr-xr-x | libgomp/configure | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index a627bc22..d1e4dc3 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2019-09-06 Florian Weimer <fweimer@redhat.com> + + * configure: Regenerate. + 2019-09-03 Chung-Lin Tang <cltang@codesourcery.com> PR other/79543 diff --git a/libgomp/configure b/libgomp/configure index c5797ea..c58d6a0 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -15888,6 +15888,7 @@ case "$target" in cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <sys/syscall.h> + #include <unistd.h> int lk; int main () @@ -15940,6 +15941,7 @@ rm -f core conftest.err conftest.$ac_objext \ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <sys/syscall.h> + #include <unistd.h> int lk; int main () |