depends: set NM for CMake

This commit is contained in:
fanquake 2024-05-13 20:01:37 +08:00
parent 1e4412b317
commit 43cfb428cb
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -181,6 +181,7 @@ $(1)_cmake=env CC="$$($(1)_cc)" \
LDFLAGS="$$($(1)_ldflags)" \
cmake -DCMAKE_INSTALL_PREFIX:PATH="$$($($(1)_type)_prefix)" \
-DCMAKE_AR=`which $$($(1)_ar)` \
-DCMAKE_NM=`which $$($(1)_nm)` \
-DCMAKE_INSTALL_LIBDIR=lib/ \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=$(V) \