The duplicate -shared option for the linker is removed.