Instead of compiling with -O3, we now compile this with -O2
which is the default for the whole system. It looks like binaries
launch and perform a little bit slower than on some other
distributions, but there is no explanation to it.
This change will reduce the size of the libc and sibling libraries
which will hopefully allow to load them faster. Code might potentially
execute slower on some machines, but this impact might be less than
the startup time of the binaries.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
name = glibc
version = 2.28
-release = 1
+release = 2
maintainer = Michael Tremer <michael.tremer@ipfire.org>
groups = System/Base
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