build: remove change-directory-and-build-depends behavior for immer (#4367)

This commit is contained in:
Kittywhiskers Van Gogh 2021-08-28 04:28:43 +05:30 committed by GitHub
parent 83114416dd
commit b3bf4de655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,16 +28,13 @@ define $(package)_config_cmds
export CFLAGS="$($(package)_cflags) $($(package)_cppflags)" && \
export CXXFLAGS="$($(package)_cxxflags) $($(package)_cppflags)" && \
export LDFLAGS="$($(package)_ldflags)" && \
mkdir -p "$($(package)_dependencies)" && cd "$($(package)_dependencies)" && \
$(host_prefix)/bin/cmake ../ $($(package)_config_opts)
$(host_prefix)/bin/cmake . $($(package)_config_opts)
endef
define $(package)_build_cmds
cd "$($(package)_dependencies)" && \
$(MAKE) $($(package)_build_opts)
endef
define $(package)_stage_cmds
cd "$($(package)_dependencies)" && \
$(MAKE) install
endef