Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=e89026808abd77acf11cbee450c240149c4e74ae

commit e89026808abd77acf11cbee450c240149c4e74ae
Author: crazy <cr...@frugalware.org>
Date:   Sun Feb 4 17:15:57 2018 +0100

xorg.sh: *-video-* drivers need 'nonow' and doesn't like -fno-plt

diff --git a/source/include/xorg.sh b/source/include/xorg.sh
index 84236e2..62e2fb2 100644
--- a/source/include/xorg.sh
+++ b/source/include/xorg.sh
@@ -36,6 +36,7 @@ if [ -z "$_F_xorg_name" ]; then
_F_xorg_name=$pkgname
fi

+
###
# == OVERWRITTEN VARIABLES
# * url
@@ -59,6 +60,15 @@ if [[ $pkgname =~ ^xf86-input- ]]; then
archs=('x86_64')
depends=("${depends[@]}" 'xorg-server>=1.19.0')
fi
+
+
+if [[ $pkgname =~ ^xf86-video- ]]; then
+       ## -video stuff doesn't like some flags
+       options+=('nonow')
+       CFLAGS=${CFLAGS/-fno-plt/}
+       CXXFLAGS=${CXXFLAGS/-fno-plt/}
+fi
+
url="http://xorg.freedesktop.org";

# set individual to be 1 , released xorg is crap at the moment , no way to get 
something
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to