Index: test/functionalities/plugins/commands/TestPluginCommands.py =================================================================== --- test/functionalities/plugins/commands/TestPluginCommands.py +++ test/functionalities/plugins/commands/TestPluginCommands.py @@ -21,7 +21,6 @@ @expectedFailureFreeBSD('llvm.org/pr17430') @skipIfi386 # This test links against liblldb.so. Thus, the test requires a 32-bit liblldb.so. - @skipIfGcc # llvm.org/pr23221 @skipIfNoSBHeaders def test_load_plugin(self): """Test that plugins that load commands work correctly.""" Index: test/make/Makefile.rules =================================================================== --- test/make/Makefile.rules +++ test/make/Makefile.rules @@ -404,7 +404,7 @@ endif endif else - $(LD) $(LDFLAGS) $(DYLIB_OBJECTS) -shared -o "$(DYLIB_FILENAME)" + $(LD) $(DYLIB_OBJECTS) -shared -o "$(DYLIB_FILENAME)" $(LDFLAGS) ifeq "$(SPLIT_DEBUG_SYMBOLS)" "YES" $(OBJCOPY) --only-keep-debug "$(DYLIB_FILENAME)" "$(DYLIB_FILENAME).debug" $(OBJCOPY) --strip-debug --add-gnu-debuglink="$(DYLIB_FILENAME).debug" "$(DYLIB_FILENAME)" "$(DYLIB_FILENAME)"