diff --git a/x11/qt2/patches/patch-configs_openbsd-g++-shared b/x11/qt2/patches/patch-configs_openbsd-g++-shared index 1b00cad3ce0..44465b0946f 100644 --- a/x11/qt2/patches/patch-configs_openbsd-g++-shared +++ b/x11/qt2/patches/patch-configs_openbsd-g++-shared @@ -44,7 +44,7 @@ # Link flags for shared objects -SYSCONF_LFLAGS_SHOBJ = -Bshareable -+SYSCONF_LFLAGS_SHOBJ = -shared ++SYSCONF_LFLAGS_SHOBJ = -shared -fPIC # Flags for threading -SYSCONF_CFLAGS_THREAD = diff --git a/x11/qt2/patches/patch-configs_openbsd-g++-shared-debug b/x11/qt2/patches/patch-configs_openbsd-g++-shared-debug index 233c289ba0b..fae9f098962 100644 --- a/x11/qt2/patches/patch-configs_openbsd-g++-shared-debug +++ b/x11/qt2/patches/patch-configs_openbsd-g++-shared-debug @@ -44,7 +44,7 @@ # Link flags for shared objects -SYSCONF_LFLAGS_SHOBJ = -Bshareable -+SYSCONF_LFLAGS_SHOBJ = -shared ++SYSCONF_LFLAGS_SHOBJ = -shared -fPIC # Flags for threading -SYSCONF_CFLAGS_THREAD =