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

improve portability #457

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Nov 29, 2024

  1. configure: improve portability

    BSD grep has no -P parameter, replace it by a sed pattern that works
    both on GNU and BSDs.
    
    Signed-off-by: Renato Botelho do Couto <[email protected]>
    rbgarga committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    4fc7597 View commit details
    Browse the repository at this point in the history
  2. libxdp: improve portability

    BSD sed fails with "extra characters at the end of p command" error
    without the semicolon after p command while GNU sed works both ways.
    
    Signed-off-by: Renato Botelho do Couto <[email protected]>
    rbgarga committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    8960f5a View commit details
    Browse the repository at this point in the history
  3. configure: detect systems without gcc

    Let the build to happen using clang when gcc is not available
    
    Signed-off-by: Renato Botelho do Couto <[email protected]>
    rbgarga committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    c7e3148 View commit details
    Browse the repository at this point in the history
  4. libxdp: improve portability

    Small adjustment on xdp-dispatcher.c.in to make it to build fine with
    both GNU and BSD m4
    
    Signed-off-by: Renato Botelho do Couto <[email protected]>
    rbgarga committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    52786b3 View commit details
    Browse the repository at this point in the history
  5. libxdp: remove dead symbol

    xdp_multiprog__dispatcher() was removed by f0a2055
    rbgarga committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    906d22a View commit details
    Browse the repository at this point in the history
  6. libxdp: fix build with clang 18

    clang's lld refuses to link without architecture being passed using -m
    rbgarga committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    e4295c1 View commit details
    Browse the repository at this point in the history