diff --git a/dietlibc.spec b/dietlibc.spec index 7d36253..a162440 100644 --- a/dietlibc.spec +++ b/dietlibc.spec @@ -1,4 +1,4 @@ -%global fixcflags -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables %xtra_fixcflags -Os -g3 -Werror-implicit-function-declaration -Wno-unused -Wno-switch +%global fixcflags -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables %xtra_fixcflags -Os -g3 -Werror-implicit-function-declaration -Wno-unused -Wno-switch -fPIE -Wl,-z,now %global basemakeflags prefix=%pkglibdir BINDIR=%{_bindir} MAN1DIR=%{_mandir}/man1 CFLAGS="$RPM_OPT_FLAGS %fixcflags $XTRA_CFLAGS" PDIET=%pkglibdir STRIP=: %global pkglibdir /usr/lib/dietlibc @@ -11,7 +11,7 @@ Name: dietlibc Version: 0.34 -Release: 3 +Release: 4 Summary: A libc optimized for small size License: GPLv2 URL: http://www.fefe.de/dietlibc/ @@ -93,6 +93,9 @@ ulimit -m $[ 128*1024 ] -v $[ 256*1024 ] -d $[ 128*1024 ] -s 512 %doc %{_mandir}/*/* %changelog +* Tue Sep 07 2021 lingsheng - 0.34-4 +- Add BIND_NOW and PIE flags + * Wed Jul 21 2021 lingsheng - 0.34-3 - Remove unnecessary buildrequire gdb