mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
depends: Use $($(package)_cmake) instead of cmake
This commit is contained in:
parent
4b705b1c98
commit
3ecf0eca63
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ endef
|
|||
# Starting with 10.1, GCC defaults to -fno-common, resulting in linking errors.
|
||||
# Pass -fcommon to retain the legacy behaviour.
|
||||
define $(package)_config_cmds
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$(build_prefix) -DCMAKE_C_FLAGS="-fcommon"
|
||||
$($(package)_cmake) -DCMAKE_C_FLAGS="$$($(1)_cflags) -fcommon"
|
||||
endef
|
||||
|
||||
define $(package)_build_cmds
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ define $(package)_preprocess_cmds
|
|||
endef
|
||||
|
||||
define $(package)_config_cmds
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$(build_prefix) -DCMAKE_C_FLAGS="-Wl,--build-id=none" ..
|
||||
$($(package)_cmake) -DCMAKE_C_FLAGS="$$($(1)_cflags) -Wl,--build-id=none" ..
|
||||
endef
|
||||
|
||||
define $(package)_build_cmds
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue