added -implicitfunc patch
This commit is contained in:
parent
c8fe5dc928
commit
d49ea1924d
1 changed files with 3 additions and 3 deletions
|
|
@ -55,6 +55,7 @@ Patch44: dietlibc-0.31-printFG.patch
|
|||
Patch45: dietlibc-0.31-stat64.patch
|
||||
Patch46: dietlibc-0.31-testsuite.patch
|
||||
Patch47: dietlibc-0.31-lcctime.patch
|
||||
Patch48: dietlibc-0.31-implicitfunc.patch
|
||||
BuildRoot: %_tmppath/%name-%version-%release-buildroot
|
||||
%{?with_dynamic:Requires: dietlibc-lib = %version-%release}
|
||||
%{!?with_dynamic:Obsoletes: dietlibc-lib < %version-%release}
|
||||
|
|
@ -109,6 +110,7 @@ This package contains the dynamic libraries for dietlibc.
|
|||
%patch45 -p1 -b .stat64
|
||||
%patch46 -p1 -b .testsuite
|
||||
%patch47 -p1 -b .lcctime
|
||||
%patch48 -p1 -b .implicitfunc
|
||||
|
||||
|
||||
%if %{without ssp}
|
||||
|
|
@ -130,7 +132,7 @@ sed -i \
|
|||
|
||||
sed -i -e 's!strip !: !g' Makefile
|
||||
|
||||
%global fixcflags -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables %xtra_fixcflags -Os -g3
|
||||
%global fixcflags -fomit-frame-pointer -fno-exceptions -fno-asynchronous-unwind-tables %xtra_fixcflags -Os -g3 -Werror-implicit-function-declaration
|
||||
%global basemakeflags prefix=%pkglibdir BINDIR=%_bindir MAN1DIR=%_mandir/man1 COMMENT=: CFLAGS="$RPM_OPT_FLAGS %fixcflags $XTRA_CFLAGS" PDIET=%pkglibdir
|
||||
%global makeflags %basemakeflags
|
||||
|
||||
|
|
@ -140,8 +142,6 @@ done
|
|||
|
||||
|
||||
%build
|
||||
echo '#include <linux/elf.h>' | gcc -E - -dD || :
|
||||
|
||||
make %makeflags all %{?_smp_mflags}
|
||||
|
||||
# 'dyn' target is not SMP safe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue