diff options
author | Carl Dong <contact@carldong.me> | 2020-08-18 15:21:12 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2020-08-18 15:21:12 -0400 |
commit | 8e121e550953711cd03d7b6c221afd065c325c5e (patch) | |
tree | 1a3fd64a0b66ccd5297cd07905ec6916504c66c9 /depends | |
parent | 8c7cd0c6d9f295bcb6913e3c69c9dac4ce2b25ce (diff) |
depends: Cleanup CMake invocation
Diffstat (limited to 'depends')
-rw-r--r-- | depends/funcs.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/depends/funcs.mk b/depends/funcs.mk index 45f9603b44..06cfdd4793 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -157,7 +157,11 @@ ifneq ($($(1)_ldflags),) $(1)_autoconf += LDFLAGS="$$($(1)_ldflags)" endif -$(1)_cmake=env CC="$$($(1)_cc)" CXX="$$($(1)_cxx)" CFLAGS="$$($(1)_cflags)" CXXFLAGS="$$($(1)_cxxflags)" cmake -DCMAKE_INSTALL_PREFIX:PATH=$($($(1)_type)_prefix) +$(1)_cmake=env CC="$$($(1)_cc)" \ + CFLAGS="$$($(1)_cflags)" \ + CXX="$$($(1)_cxx)" \ + CXXFLAGS="$$($(1)_cxxflags)" \ + cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" ifneq ($($(1)_type),build) ifneq ($(host),$(build)) $(1)_cmake += -DCMAKE_SYSTEM_NAME=$($(host_os)_cmake_system) |