Use -Wl,-undefined,dynamic_lookup on darwin

* testsuite/libgomp.c++/pr24455.C: Use
	-Wl,-undefined,dynamic_lookup on darwin.

From-SVN: r193318
This commit is contained in:
Jack Howarth 2012-11-07 23:12:27 +00:00 committed by H.J. Lu
parent 13021d264c
commit e9f958c283
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-11-07 Jack Howarth <howarth@bromo.med.uc.edu>
* testsuite/libgomp.c++/pr24455.C: Use
-Wl,-undefined,dynamic_lookup on darwin.
2012-11-07 David Edelsohn <dje.gcc@gmail.com>
* testsuite/libgomp.c++/pr24455.C: Use -Wl,-G on AIX.

View File

@ -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);