Menu

#19 Let environment provide default values for CPPFLAGS, CPPFLAGS, and LDFLAGS

Unstable (example)
open
nobody
None
5
2020-12-30
2020-12-30
No

Distributions want to be able to set hardening build flags in CPPFLAGS / CXXFLAGS / LDFLAGS . The attached patch cleans up between CPPFLAGS and CXXFLAGS (the former is for the preprocessor, the latter is for the compiler, we thus want to include both in the CXX command, and LDFLAGS in the linking command), and uses ?= to let the environment provide default values.

1 Attachments

Discussion

  • Valdis Vitolins

    Valdis Vitolins - 2020-12-30

    As far as I understand, this is the same as merged pull request: https://github.com/numediart/MBROLA/pull/24

     
  • Samuel Thibault

    Samuel Thibault - 2020-12-30

    That's basically the same idea, yes

     

Log in to post a comment.

MongoDB Logo MongoDB