Skip to content

Commit

Permalink
btrfs-progs: honor CFLAGS and BUILD tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed Aug 7, 2014
1 parent e46e6a1 commit 21aa379
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions filesys/btrfs-progs/BUILD
@@ -1,10 +1,5 @@
(

sedit 's/^prefix.*/prefix = \/usr/' Makefile
sedit 's/^bindir.*/bindir = \/sbin/' Makefile &&

make &&
prepare_install &&
make install

) > $C_FIFO 2>&1
make CFLAGS="$CFLAGS" &&
make CFLAGS="$CFLAGS" btrfs-select-super &&
prepare_install &&
make prefix=/usr bindir=/sbin install &&
install -Dm0755 btrfs-select-super /sbin

0 comments on commit 21aa379

Please sign in to comment.