Browse Source

Do not use strip by default from the stage 0 allowing debug

Signed-off-by: Matías Fonzo <selk@dragora.org>
master
Matías Fonzo 4 months ago
parent
commit
aa136c3081
No known key found for this signature in database GPG Key ID: 3AAF1CEC203A99D5
  1. 2
      bootstrap
  2. 5
      stages/0/04-musl

2
bootstrap

@ -190,7 +190,7 @@ BTCC="${BTCC:=cc}"
BTCXX="${BTCXX:=c++}"
BTCFLAGS="${BTCFLAGS:=-O2}"
BTCXXFLAGS="${BTCXXFLAGS:=-O2}"
BTLDFLAGS="${BTLDFLAGS:=-s}"
BTLDFLAGS="${BTLDFLAGS:=}"
opt_keep=opt_keep.off
stage=0
libSuffix=""

5
stages/0/04-musl

@ -1,6 +1,6 @@
# Build script for musl.
#
# Copyright (c) 2014-2020 Matias Fonzo, <selk@dragora.org>.
# Copyright (c) 2014-2021 Matias Fonzo, <selk@dragora.org>.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -29,7 +29,8 @@ cd musl-${version}
CFLAGS="$BTCFLAGS" \
--prefix= \
--syslibdir=/lib \
--enable-optimize
--enable-optimize \
--enable-debug
make -j${jobs}
make -j${jobs} DESTDIR="${crossdir}/$target" install

Loading…
Cancel
Save