diff options
author | Carl Dong <contact@carldong.me> | 2020-08-07 20:52:22 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2020-08-07 20:52:22 -0400 |
commit | 3ecf0eca634601da216b06f091f95456c047f39c (patch) | |
tree | c865d6ba0923843f592bd412e33612862822fe8a /depends/packages/native_cdrkit.mk | |
parent | 4b705b1c98f60ab736df98d62a8d4988f61678d5 (diff) |
depends: Use $($(package)_cmake) instead of cmake
Diffstat (limited to 'depends/packages/native_cdrkit.mk')
-rw-r--r-- | depends/packages/native_cdrkit.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/native_cdrkit.mk b/depends/packages/native_cdrkit.mk index 14c37a0fc7..7bdf2d7dfd 100644 --- a/depends/packages/native_cdrkit.mk +++ b/depends/packages/native_cdrkit.mk @@ -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 |