Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cross-compilation for static,vendored #95

Merged
merged 3 commits into from
Aug 19, 2024

Commits on Aug 19, 2024

  1. Only build libelf and disable demangler for elfutils

    Previously, build.rs builds all elfutils including other libraries that we
    actually don't need and that will require C++ toolchains for elfutils>=0.190
    
    This commit passes --disable-demangler when configuring elfutils to remove C++
    dependency and changes build.rs to only build libelf when building elfutils.
    It shortens the build time significantly.
    (From 22 seconds to 13 seconds for a clean build on my machine)
    kxxt committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    8430933 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cab8a30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d9ba99 View commit details
    Browse the repository at this point in the history