diff options
Diffstat (limited to 'depends')
-rw-r--r-- | depends/funcs.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk index 06cfdd4793..00289a0a43 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -158,9 +158,9 @@ $(1)_autoconf += LDFLAGS="$$($(1)_ldflags)" endif $(1)_cmake=env CC="$$($(1)_cc)" \ - CFLAGS="$$($(1)_cflags)" \ + CFLAGS="$$($(1)_cppflags) $$($(1)_cflags)" \ CXX="$$($(1)_cxx)" \ - CXXFLAGS="$$($(1)_cxxflags)" \ + CXXFLAGS="$$($(1)_cppflags) $$($(1)_cxxflags)" \ cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" ifneq ($($(1)_type),build) ifneq ($(host),$(build)) |