diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-12-29 21:51:42 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-12-29 21:51:42 +0000 |
commit | 56e0f20337198f489a916bb7d78295c442e2be15 (patch) | |
tree | b81de2db828c4ac8500338a814529d41b7de2da3 /Mk | |
parent | 22c3bee3311470ed549998b23fb6d5026099ab80 (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.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 |