]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - glibc/glibc.nm
kernel: Update to 5.1
[ipfire-3.x.git] / glibc / glibc.nm
index 9330640087ee1bd94ecd73ee70832045395c1995..eb3f7e2ccd1d33b8cefbb013f4fadb68d92494c1 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = glibc
-version    = 2.25
+version    = 2.29
 release    = 1
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
@@ -23,7 +23,7 @@ description
        Linux system will not function.
 end
 
-source_dl  = http://ftp.gnu.org/gnu/glibc/
+source_dl  = https://ftp.gnu.org/gnu/glibc/
 sources    = %{thisapp}.tar.xz
 
 build
@@ -31,20 +31,22 @@ build
        OPTIMIZED_KERNEL = 3.2
 
        requires
-               audit-devel
                autoconf
                automake
-               binutils >= 2.27
-               gcc >= 4.7
+               binutils >= 2.29
+               bison
+               gcc >= 8
                gettext
                kernel-headers >= %{OPTIMIZED_KERNEL}
                libcap-devel
                libstdc++-static
+               make >= 4.0
+               python3 >= 3.4
                texinfo
        end
 
        # Build glibc with custom cflags
-       GLIBC_FLAGS = -O3 -g -fasynchronous-unwind-tables -DNDEBUG
+       GLIBC_FLAGS = -O2 -g -DNDEBUG -pipe
 
        if "%{DISTRO_ARCH}" == "i686"
                GLIBC_FLAGS += -march=i686 -mtune=generic
@@ -95,7 +97,8 @@ build
                --enable-bind-now \
                --enable-obsolete-rpc \
                --with-bugurl=http://bugtracker.ipfire.org \
-               --enable-lock-elision
+               --enable-lock-elision \
+               --enable-cet
 
        if "%{DISTRO_ARCH}" == "armv5tel"
                # Disable hardware FP for ARM.