diff options
author | lofi <lofi@FreeBSD.org> | 2004-12-30 05:51:42 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-12-30 05:51:42 +0800 |
commit | 3b2903307560b183c9f03eaecd428afeee443da7 (patch) | |
tree | d07dc551ad78358ae5427557365a310baee2b7e0 /Mk | |
parent | 92a0c74046500f64bf26a40f2ead938fac36291c (diff) | |
download | freebsd-ports-gnome-3b2903307560b183c9f03eaecd428afeee443da7.tar.gz freebsd-ports-gnome-3b2903307560b183c9f03eaecd428afeee443da7.tar.zst freebsd-ports-gnome-3b2903307560b183c9f03eaecd428afeee443da7.zip |
Globally disable -Wl,-as-needed for all users of USE_KDELIBS_VER. Binaries
linked with -pthread and -Wl,as-needed will have all references to libphthread
stripped (reason/reasoning unknown), causing funny runtime errors when Qt
decides to fire up a thread.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.kde.mk | 3 | ||||
-rw-r--r-- | Mk/bsd.kde4.mk | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk index 904cb32a60d8..4aa85b4bbc11 100644 --- a/Mk/bsd.kde.mk +++ b/Mk/bsd.kde.mk @@ -63,7 +63,8 @@ CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" .if !defined(_NO_KDE_CONFTARGET_HACK) CONFIGURE_TARGET= CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ - --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include + --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include \ + --disable-as-needed .endif .if ${USE_KDELIBS_VER} == CVS diff --git a/Mk/bsd.kde4.mk b/Mk/bsd.kde4.mk index 904cb32a60d8..4aa85b4bbc11 100644 --- a/Mk/bsd.kde4.mk +++ b/Mk/bsd.kde4.mk @@ -63,7 +63,8 @@ CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" .if !defined(_NO_KDE_CONFTARGET_HACK) CONFIGURE_TARGET= CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ - --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include + --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include \ + --disable-as-needed .endif .if ${USE_KDELIBS_VER} == CVS |