Skip to content

Commit

Permalink
busybox: fails to build with GOLD support enabled with binutils-2.25
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Raue <stephan@openelec.tv>
  • Loading branch information
sraue committed Dec 27, 2014
1 parent 9d49b1a commit 7a7f19d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/sysutils/busybox/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ configure_target() {
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`

# busybox fails to build with GOLD support enabled with binutils-2.25
strip_gold

LDFLAGS="$LDFLAGS -fwhole-program"

make oldconfig
Expand All @@ -139,6 +142,9 @@ configure_init() {
CFLAGS=`echo $CFLAGS | sed -e "s|-Ofast|-Os|"`
CFLAGS=`echo $CFLAGS | sed -e "s|-O.|-Os|"`

# busybox fails to build with GOLD support enabled with binutils-2.25
strip_gold

LDFLAGS="$LDFLAGS -fwhole-program"

make oldconfig
Expand Down

0 comments on commit 7a7f19d

Please sign in to comment.