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 compilation on Alpine Linux #400

Merged
merged 1 commit into from
Oct 26, 2020
Merged

Fix compilation on Alpine Linux #400

merged 1 commit into from
Oct 26, 2020

Conversation

gaborcsardi
Copy link
Collaborator

  • Pass down CXXFLAGS to libcctz. On https://github.com/r-hub/r-minimal
    we set __MUSL__. This is not a standard, but nevertheless some
    R packages (e.g. Rcpp) rely on it already, and at least the user
    can set it in a user Makevars file.
  • Use __MUSL__ to select the right strerror_r signature. I don't know
    why this is not happening automatically. It might be a libcctz
    bug or a musl bug.

* Pass down CXXFLAGS to libcctz. On https://github.com/r-hub/r-minimal
  we set __MUSL__. This is not a standard, but nevertheless some
  R packages (e.g. Rcpp) rely on it already, and at least the user
  can set it in a user Makevars file.
* Use __MUSL__ to select the right strerror_r signature. I don't know
  why this is not happening automatically. It might be a libcctz
  bug or a musl bug.
@jimhester
Copy link
Contributor

Thanks!

@jimhester jimhester merged commit f37844f into r-dbi:master Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants