diff options
author | Sergey V. Lobanov <sergey@lobanov.in> | 2022-01-15 16:10:47 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-01-16 22:13:46 +0100 |
commit | 87d489f67a35968242cd4f192dc363dc87056844 (patch) | |
tree | eb238a8c07b94fdb6f16fe675c646d76dcb6b90d /include | |
parent | f1d4c77766f9fe2e56a1208932a7650f2896fff6 (diff) | |
download | upstream-87d489f67a35968242cd4f192dc363dc87056844.tar.gz upstream-87d489f67a35968242cd4f192dc363dc87056844.tar.bz2 upstream-87d489f67a35968242cd4f192dc363dc87056844.zip |
build: add HOST_CXXFLAGS for host build
Added HOST_CXXFLAGS to specify CXXFLAGS during host-compile
(e.g. to specify c++ standard: HOST_CXXFLAGS += -std=c++11)
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Diffstat (limited to 'include')
-rw-r--r-- | include/host-build.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/host-build.mk b/include/host-build.mk index b68c8c4536..7f76eb1a2f 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -51,6 +51,7 @@ HOST_CONFIGURE_VARS = \ CFLAGS="$(HOST_CFLAGS)" \ CXX="$(HOSTCXX)" \ CPPFLAGS="$(HOST_CPPFLAGS)" \ + CXXFLAGS="$(HOST_CXXFLAGS)" \ LDFLAGS="$(HOST_LDFLAGS)" \ CONFIG_SHELL="$(SHELL)" |