Changeset 2d2261a for x


Ignore:
Timestamp:
05/12/2020 08:58:25 AM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
90beeea0
Parents:
a381524
Message:

Fix freeglut for gcc 10

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23109 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/freeglut.xml

    ra381524 r2d2261a  
    105105
    106106cmake -DCMAKE_INSTALL_PREFIX=/usr       \
     107      -DCMAKE_C_FLAGS=-fcommon          \<!-- devs:See command expl below -->
    107108      -DCMAKE_BUILD_TYPE=Release        \
    108109      -DFREEGLUT_BUILD_DEMOS=OFF        \
    109110      -DFREEGLUT_BUILD_STATIC_LIBS=OFF  \
    110       .. &amp;&amp;
     111      -Wno-dev .. &amp;&amp;
    111112
    112113make</userinput></screen>
     
    127128  <sect2 role="commands">
    128129    <title>Command Explanations</title>
     130<!-- remove the followind and the corresponding switch in cmake command
     131     when upstream fix is applied. -->
     132    <para>
     133      <parameter>-DCMAKE_C_FLAGS=-fcommon</parameter>: Fix building with
     134      GCC-10 and later.
     135    </para>
    129136
    130137    <para>
Note: See TracChangeset for help on using the changeset viewer.