mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
Remove the -fcommon hack by applying upstream fix for xorg ati driver
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23159 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
2f5d812c71
commit
05738781f2
@ -182,16 +182,22 @@ CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"</literal></screen>
|
||||
<sect3 role="installation">
|
||||
<title>Installation of Xorg ATI Driver</title>
|
||||
|
||||
<!--
|
||||
Note: Fixed upstream, should be unneeded for versions gtr 19.1.0
|
||||
-->
|
||||
<para>
|
||||
First, fix an issue exposed by GCC 10 and later:
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -e 's/miPointer/extern &/' \
|
||||
-i src/drmmode_display.h</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install <application>Xorg ATI Driver</application> by running the following
|
||||
commands:
|
||||
</para>
|
||||
|
||||
<!--
|
||||
Note: Check if -fcommon is still required on versions gtr 19.1.0
|
||||
Its a "hack" for gcc-10
|
||||
-->
|
||||
<screen><userinput>CFLAGS="$CFLAGS -fcommon" ./configure $XORG_CONFIG &&
|
||||
<screen><userinput>./configure $XORG_CONFIG &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user