diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2013-03-08 05:47:26 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-03-08 05:47:27 +0000 |
commit | 45ba0cf7812270b97cce13afcd15f3e669336ffb (patch) | |
tree | b1baae26a6a97fbd12609cd2543100d1074ed2df /gcc-4.4.3/libgomp/configure | |
parent | fe1a20404b19d5dd0cd0988d080cff8a455c2a76 (diff) | |
parent | a38e7b29885b25278b1d356b2efd21622376695d (diff) | |
download | toolchain_gcc-45ba0cf7812270b97cce13afcd15f3e669336ffb.tar.gz toolchain_gcc-45ba0cf7812270b97cce13afcd15f3e669336ffb.tar.bz2 toolchain_gcc-45ba0cf7812270b97cce13afcd15f3e669336ffb.zip |
Merge "Fix GCC 4.4.3/4.6/4.7 openmp support to use libgomp/config/linux"
Diffstat (limited to 'gcc-4.4.3/libgomp/configure')
-rwxr-xr-x | gcc-4.4.3/libgomp/configure | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-4.4.3/libgomp/configure b/gcc-4.4.3/libgomp/configure index b5cfeb9ef..29645d13a 100755 --- a/gcc-4.4.3/libgomp/configure +++ b/gcc-4.4.3/libgomp/configure @@ -17617,6 +17617,12 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <sys/syscall.h> int lk; +#if !defined(SYS_gettid) +#define SYS_gettid __NR_gettid +#endif +#if !defined(SYS_futex) +#define SYS_futex __NR_futex +#endif int main () { @@ -17726,6 +17732,12 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <sys/syscall.h> int lk; +#if !defined(SYS_gettid) +#define SYS_gettid __NR_gettid +#endif +#if !defined(SYS_futex) +#define SYS_futex __NR_futex +#endif int main () { |