Commit 920a8260 by Jack Howarth Committed by Mike Stump

re PR target/43715 (configure option --enable-plugin fails on darwin)

2010-04-21  Jack Howarth <howarth@bromo.med.uc.edu>

        PR 43715
	* testsuite/lib/plugin-support.exp: Use "-undefined
	dynamic_lookup" on darwin.

From-SVN: r158747
parent b83a701b
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.
......
......@@ -88,6 +88,10 @@ proc plugin-test-execute { plugin_src plugin_tests } {
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"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment