Fix for gcc-10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23093 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Thomas Trepl 2020-05-10 19:32:33 +00:00
parent ec0d523e8c
commit 0f3b48de6c

View File

@ -131,7 +131,11 @@ useradd -c "Network Time Protocol" -d /var/lib/ntp -u 87 \
the following commands:
</para>
<screen><userinput>./configure CFLAGS="-O2 -g -fPIC" \
<!--
Note: Check if -fcommon is still required on versions gtr 4.2.8p14
Its a "hack" for gcc-10
-->
<screen><userinput>./configure CFLAGS="-O2 -g -fPIC -fcommon" \
--prefix=/usr \
--bindir=/usr/sbin \
--sysconfdir=/etc \