Skip to content

Is it possible to use a custom strip path? #111

@Dreamacro

Description

@Dreamacro

Because the strip in SDKROOT sucks, it will fail to strip when building aarch64-apple-darwin/x86_64-apple-darwin. llvm-strip works well.

warning: stripping debug info with `strip` failed: exit status: 1
  |
  = note: /Library/Developer/CommandLineTools/usr/bin/strip: fatal error: file not in an order that can be processed (function starts data out of place): /Users/dreamacro/Dev/projects/****/target/x86_64-apple-darwin/release/deps/ctl-274200c28898526f

I tried to use TARGET_STRIP=llvm-strip cargo zigbuild --release --target universal2-apple-darwin but it doesn't work, is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions