Skip to content

Commit

Permalink
build: Add -std=c99 and delete libcurl, libarchive and libpkgconf for…
Browse files Browse the repository at this point in the history
… muon

The changes required as same with the nvme-cli build for muon.

Signed-off-by: Tokunori Ikegami <[email protected]>
  • Loading branch information
ikegami-t committed Nov 12, 2023
1 parent eb857fb commit b7b5760
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,10 @@ tools_build_muon() {
"${BUILDDIR}/build-tools/muon"
pushd "${BUILDDIR}/build-tools/muon" || exit 1

CC="${CC}" ninja="${SAMU}" ./bootstrap.sh stage1
CC="${CC}" CFLAGS="${CFLAGS} -std=c99" ninja="${SAMU}" ./bootstrap.sh stage1

CC="${CC}" ninja="${SAMU}" stage1/muon setup \
-Dprefix="${BUILDDIR}/build-tools" \
-Dlibcurl=enabled \
-Dlibarchive=enabled \
-Dlibpkgconf=enabled \
-Ddocs=disabled \
-Dsamurai=disabled \
"${BUILDDIR}/build-tools/.build-muon"
Expand Down

0 comments on commit b7b5760

Please sign in to comment.