Skip to content

Commit 8e121e5

Browse files
committed
depends: Cleanup CMake invocation
1 parent 8c7cd0c commit 8e121e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

depends/funcs.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,11 @@ ifneq ($($(1)_ldflags),)
157157
$(1)_autoconf += LDFLAGS="$$($(1)_ldflags)"
158158
endif
159159

160-
$(1)_cmake=env CC="$$($(1)_cc)" CXX="$$($(1)_cxx)" CFLAGS="$$($(1)_cflags)" CXXFLAGS="$$($(1)_cxxflags)" cmake -DCMAKE_INSTALL_PREFIX:PATH=$($($(1)_type)_prefix)
160+
$(1)_cmake=env CC="$$($(1)_cc)" \
161+
CFLAGS="$$($(1)_cflags)" \
162+
CXX="$$($(1)_cxx)" \
163+
CXXFLAGS="$$($(1)_cxxflags)" \
164+
cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)"
161165
ifneq ($($(1)_type),build)
162166
ifneq ($(host),$(build))
163167
$(1)_cmake += -DCMAKE_SYSTEM_NAME=$($(host_os)_cmake_system)

0 commit comments

Comments
 (0)