PR 43715
* testsuite/lib/plugin-support.exp: Use "-undefined
dynamic_lookup" on darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158747
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-04-21 Jack Howarth <howarth@bromo.med.uc.edu>
+
+ PR 43715
+ * testsuite/lib/plugin-support.exp: Use "-undefined
+ dynamic_lookup" on darwin.
+
2010-04-26 Richard Guenther <rguenther@suse.de>
* gcc.dg/lto/20100426_0.c: New testcase.
set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared"
+ if { [ ishost *-*-darwin* ] } {
+ set optstr [concat $optstr "-undefined dynamic_lookup"]
+ }
+
# Temporarily switch to the environment for the plugin compiler.
restore_ld_library_path_env_vars
set status [remote_exec build "$PLUGINCC $PLUGINCFLAGS $plugin_src $optstr -o $plugin_lib"]