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/configure | |
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/configure')
-rwxr-xr-x | libgomp/configure | 2 |
1 files changed, 2 insertions, 0 deletions
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 () |