summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-12-29 21:51:42 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-12-29 21:51:42 +0000
commit56e0f20337198f489a916bb7d78295c442e2be15 (patch)
treeb81de2db828c4ac8500338a814529d41b7de2da3 /Mk
parentAlso suggest to not use clear_tmp_enable right now, since it'll nuke (diff)
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.
Notes
Notes: svn path=/head/; revision=125470
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.kde.mk3
-rw-r--r--Mk/bsd.kde4.mk3
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