Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=8c34ef081b382c980318da212da9eaf9bb4e29c2

commit 8c34ef081b382c980318da212da9eaf9bb4e29c2
Author: crazy <cr...@frugalware.org>
Date:   Sun Jan 31 18:07:08 2010 +0100

kde.sh
* export LDFLAGS ...
* added -Wl,--no-undefined -Wl,--as-needed to KDE's LDFLAGS

diff --git a/source/include/kde.sh b/source/include/kde.sh
index 9011723..c3dd780 100644
--- a/source/include/kde.sh
+++ b/source/include/kde.sh
@@ -255,8 +255,9 @@ KDE_split()

KDE_export_flags()
{
-       export CFLAGS="$CFLAGS -fno-strict-aliasing $_F_KDE_CXX_FLAGS"
-       export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing $_F_KDE_CXX_FLAGS"
+       export CFLAGS="$CFLAGS $_F_KDE_CXX_FLAGS"
+       export CXXFLAGS="$CXXFLAGS  $_F_KDE_CXX_FLAGS"
+       export LDFLAGS="$LDFLAGS -Wl,--no-undefined -Wl,--as-needed"
}

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

Reply via email to