Obsolete
/
recipes
Archived
3
0
Fork 0

binutils recipe: using %{prefix}

master
Philippe PITTOLI 2019-09-04 13:42:11 +02:00
parent 495ad4b336
commit 22b9aae701
1 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
name: binutils
version: 2.32
release: 1
release: 2
sources: https://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.xz
options:
- configure: --disable-multilib --with-pic --disable-nls
@ -8,5 +8,6 @@ options:
- make: tooldir=/usr
@install
cd binutils-%{version} && make 'DESTDIR=%{pkg}' tooldir=/usr install && rm '%{pkg}/usr/bin/strings'
cd binutils-%{version}
make 'DESTDIR=%{pkg}' tooldir=/usr install
rm '%{pkg}/%{prefix}/bin/strings'