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 build system #262

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Improve build system #262

wants to merge 5 commits into from

Commits on Apr 14, 2024

  1. Respect CFLAGS from the environment in nvidia-modprobe.mk

    Signed-off-by: Jakub Klinkovský <[email protected]>
    lahwaacz committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    d657876 View commit details
    Browse the repository at this point in the history
  2. Respect CGO_CFLAGS and CGO_LDFLAGS from the environment in nvcgo/Make…

    …file
    
    Signed-off-by: Jakub Klinkovský <[email protected]>
    lahwaacz committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    7cfacf0 View commit details
    Browse the repository at this point in the history
  3. Add GO_LDFLAGS variable to nvcgo/Makefile to allow packagers specifyi…

    …ng their own flags
    
    For example, Arch Linux wants debug information in the binaries.
    
    Signed-off-by: Jakub Klinkovský <[email protected]>
    lahwaacz committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    26818f5 View commit details
    Browse the repository at this point in the history
  4. Add STRIP_DEBUG_INFO variable to allow omitting strip during build phase

    For example, Arch Linux strips debug information after build during the
    package creation and producing separate debug info files during the
    build interferes with the Arch tooling.
    
    Signed-off-by: Jakub Klinkovský <[email protected]>
    lahwaacz committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    b7bf5ec View commit details
    Browse the repository at this point in the history
  5. Modify WITH_TIRPC variable for consistency with WITH_LIBELF and WITH_…

    …SECCOMP
    
    "yes" means linking to system libtirpc, "no" means building libtirpc from source.
    
    Signed-off-by: Jakub Klinkovský <[email protected]>
    lahwaacz committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    d59a46c View commit details
    Browse the repository at this point in the history