Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=66c1a8717de5e72f0186b3a25bbe7032161f48d2

commit 66c1a8717de5e72f0186b3a25bbe7032161f48d2
Author: crazy <cr...@frugalware.org>
Date:   Fri Mar 26 17:50:32 2010 +0100

added _F_KDE_LD_FLAGS

diff --git a/source/include/kde.sh b/source/include/kde.sh
index 4daadc0..e3fb0a7 100644
--- a/source/include/kde.sh
+++ b/source/include/kde.sh
@@ -122,6 +122,9 @@ None)       _F_KDE_CXX_FLAGS="$_F_KDE_CXX_FLAGS -DNDEBUG 
-DQT_NO_DEBUG";;
Debug*) _F_KDE_CXX_FLAGS="$_F_KDE_CXX_FLAGS -ggdb3";;
esac

+
+_F_KDE_LD_FLAGS="-Wl,--no-undefined -Wl,--as-needed"
+
## REMOVE: KDE4_USE_ALWAYS... option changed since 4.2*
## think about CMAKE_SKIP_RPATH for 4.4
_F_cmake_confopts="$_F_cmake_confopts \
@@ -257,7 +260,7 @@ KDE_export_flags()
{
export CFLAGS="$CFLAGS $_F_KDE_CXX_FLAGS"
export CXXFLAGS="$CXXFLAGS  $_F_KDE_CXX_FLAGS"
-       export LDFLAGS="$LDFLAGS -Wl,--no-undefined -Wl,--as-needed"
+       export LDFLAGS="$LDFLAGS $_F_KDE_LD_FLAGS"
}

KDE_make()
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to