Skip to content

Commit

Permalink
Address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
papertigers committed Jan 6, 2025
1 parent 9b9ee89 commit ee7fa0d
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build/starship/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ BUILD_DEPENDS_IPS="
ooce/developer/rust
"

SKIP_SSP_CHECK=1

CARGO_ARGS="--no-default-features --features=gix-max-perf"

set_arch 64
Expand All @@ -38,7 +40,7 @@ pre_build() {

init
clone_github_source $PROG "$GITHUB/starship/$PROG" $VER
BUILDDIR+=/$PROG
append_builddir $PROG
patch_source
prep_build
build_rust $CARGO_ARGS
Expand Down
2 changes: 1 addition & 1 deletion build/starship/local.mog
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@

# Copyright 2025 OmniOS Community Edition (OmniOSce) Association.

license starship/LICENSE license=ISC
license LICENSE license=ISC
11 changes: 11 additions & 0 deletions build/starship/patches/do-not-strip-symbol-table.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff -wpruN --no-dereference '--exclude=*.orig' a~/Cargo.toml a/Cargo.toml
--- a~/Cargo.toml 2025-01-06 16:32:07.099033407 +0000
+++ a/Cargo.toml 2025-01-06 16:32:17.865571999 +0000
@@ -128,7 +128,6 @@ tempfile = "3.15.0"
[profile.release]
codegen-units = 1
lto = true
-strip = true

[[bin]]
name = "starship"
1 change: 1 addition & 0 deletions build/starship/patches/series
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
do-not-strip-symbol-table.patch

0 comments on commit ee7fa0d

Please sign in to comment.