Makefile: Obey generic CPPFLAGS/CFLAGS/LDFLAGS from the env. #40

Closed
cavallar wants to merge 0 commits from gitlab-mr-iid-23 into master
Member

Most Linux packaging systems provide generic CPPFLAGS/CFLAGS/LDFLAGS
environement variables that should be used by every package. These
flags are generic and mostly contain CPU architecture, build
reproducibility and security options. Not obeying them generally leads
to problems with the package.

Note that CMake does not support CPPFLAGS[1] so we have to coalesce it into
CFLAGS while invoking it.

[1] https://gitlab.kitware.com/cmake/cmake/-/issues/12928

Most Linux packaging systems provide generic CPPFLAGS/CFLAGS/LDFLAGS environement variables that should be used by every package. These flags are generic and mostly contain CPU architecture, build reproducibility and security options. Not obeying them generally leads to problems with the package. Note that CMake does not support CPPFLAGS[1] so we have to coalesce it into CFLAGS while invoking it. [1] https://gitlab.kitware.com/cmake/cmake/-/issues/12928

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma-elixir-libraries/fast_html!40
No description provided.