diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-09-06 10:27:36 +0000 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-09-06 10:27:36 +0000 |
commit | 175831d1632e427a26044622f3c1104ec02df7ab (patch) | |
tree | 1902238a65deeaf90dfe4c439e44384b48b39d0e /libgomp | |
parent | 64a758f98b4a8596500f81d10e611304ae18cbab (diff) |
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.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@275454 138bc75d-0d04-0410-961f-82ee72b054a4
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 a627bc2298d..d1e4dc35c4a 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 c5797ea9d5d..c58d6a01231 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 () |