User Tools

Site Tools


qLinux
… a distribution study


<< Prev
Coreutils

Next >>
Gawk


Diffutils-3.8

Reference: 8.55. Diffutils-3.8. Fix the build system:

patch -Np1 -i diffutils-3.8.bld-20220207.patch

Apply a patch to fix the sources:

patch -Np1 -i diffutils-3.8.src-20220207.patch
./configure --prefix=/qlnx \
            CFLAGS="-Wno-error=parentheses \
                    -Wno-error=attributes \
                    -Wno-error=unused-const-variable \
                    -Wno-error=cast-align \
                    -Wno-error=analyzer-possible-null-argument \
                    -Wno-error=analyzer-possible-null-dereference"
            --mandir=/qlnx/man \
            --infodir=/tmp

CFLAGS=
    Prevent that gcc warnings will be treated as errors. Otherwise the build of the (gnu)lib part will fail.

Build and install diffutils:

make
make install

<< Prev
Coreutils

        

Next >>
Gawk