-
Michael Pratt authored
Usage of g++ should mimic the usage of gcc, otherwise, part of a binary or library may have optimizations and part of it may not, unbeknownst to the users or developers working on a build. This can lead to some features like, for example, FORTIFY_SOURCE, to have less of an effect or even cause a build error on some hosts. Therefore, let HOST_CXXFLAGS default to HOST_CFLAGS. Fixes: 87d489f6 ("build: add HOST_CXXFLAGS for host build") Signed-off-by:
Michael Pratt <mcpratt@pm.me> Link: https://github.com/openwrt/openwrt/pull/15853 Signed-off-by:
Robert Marko <robimarko@gmail.com>
Michael Pratt authoredUsage of g++ should mimic the usage of gcc, otherwise, part of a binary or library may have optimizations and part of it may not, unbeknownst to the users or developers working on a build. This can lead to some features like, for example, FORTIFY_SOURCE, to have less of an effect or even cause a build error on some hosts. Therefore, let HOST_CXXFLAGS default to HOST_CFLAGS. Fixes: 87d489f6 ("build: add HOST_CXXFLAGS for host build") Signed-off-by:
Michael Pratt <mcpratt@pm.me> Link: https://github.com/openwrt/openwrt/pull/15853 Signed-off-by:
Robert Marko <robimarko@gmail.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.