From e9f958c283c24e3b93808850ee1f29d80765ba34 Mon Sep 17 00:00:00 2001 From: Jack Howarth Date: Wed, 7 Nov 2012 23:12:27 +0000 Subject: [PATCH] Use -Wl,-undefined,dynamic_lookup on darwin * testsuite/libgomp.c++/pr24455.C: Use -Wl,-undefined,dynamic_lookup on darwin. From-SVN: r193318 --- libgomp/ChangeLog | 5 +++++ libgomp/testsuite/libgomp.c++/pr24455.C | 1 + 2 files changed, 6 insertions(+) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index c3a5ab72017..c114a2e23c5 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,8 @@ +2012-11-07 Jack Howarth + + * testsuite/libgomp.c++/pr24455.C: Use + -Wl,-undefined,dynamic_lookup on darwin. + 2012-11-07 David Edelsohn * testsuite/libgomp.c++/pr24455.C: Use -Wl,-G on AIX. diff --git a/libgomp/testsuite/libgomp.c++/pr24455.C b/libgomp/testsuite/libgomp.c++/pr24455.C index 02a478a4ee7..3185ca53055 100644 --- a/libgomp/testsuite/libgomp.c++/pr24455.C +++ b/libgomp/testsuite/libgomp.c++/pr24455.C @@ -2,6 +2,7 @@ // { dg-additional-sources pr24455-1.C } // { dg-require-effective-target tls_runtime } // { dg-options "-Wl,-G" { target powerpc-ibm-aix* } } +// { dg-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } extern "C" void abort (void);