diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2012-02-13 21:46:38 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2012-02-13 21:46:38 +0000 |
commit | 255a9a1bb5ed771c8b1f72ffb71bfdf77f2d9fb9 (patch) | |
tree | b55e6dc77c9621f5c9185ca1566529c83dd91063 /libitm/configure | |
parent | b2cb69647e04765b87f0f1ba9f39b4a353574135 (diff) | |
download | gcc-255a9a1bb5ed771c8b1f72ffb71bfdf77f2d9fb9.zip gcc-255a9a1bb5ed771c8b1f72ffb71bfdf77f2d9fb9.tar.gz gcc-255a9a1bb5ed771c8b1f72ffb71bfdf77f2d9fb9.tar.bz2 |
gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
gcc/
* gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
(GTM_SELF_SPECS): Define if not already defined.
(driver_self_specs): Add GTM_SELF_SPECS.
* config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm.
(GTM_SELF_SPECS): Define.
* config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
* config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.
libitm/
* configure.ac (link_itm): Fix comment.
* configure: Regenerate.
* testsuite/lib/libitm.exp: Do not pass -litm for the link.
From-SVN: r184174
Diffstat (limited to 'libitm/configure')
-rw-r--r-- | libitm/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/configure b/libitm/configure index 5fc8703..47c7b0c 100644 --- a/libitm/configure +++ b/libitm/configure @@ -17463,7 +17463,7 @@ else fi # Set up the set of libraries that we need to link against for libitm. -# Note that the GOMP_SELF_SPEC in gcc.c will force -pthread for -fopenmp, +# Note that the GTM_SELF_SPECS in gcc.c will force -pthread for -fgnu-tm, # which will force linkage against -lpthread (or equivalent for the system). # That's not 100% ideal, but about the best we can do easily. if test $enable_shared = yes; then |