summaryrefslogtreecommitdiffstats
path: root/src/libcomm14cux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcomm14cux.mk')
-rw-r--r--src/libcomm14cux.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcomm14cux.mk b/src/libcomm14cux.mk
index 8d1f0d3..fa2cf98 100644
--- a/src/libcomm14cux.mk
+++ b/src/libcomm14cux.mk
@@ -12,8 +12,7 @@ $(PKG)_DEPS := gcc
define $(PKG)_BUILD
mkdir '$(1)/build'
- cd '$(1)/build' && cmake .. \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
+ cd '$(1)/build' && '$(TARGET)-cmake' .. \
-DBUILD_STATIC=$(if $(BUILD_STATIC),ON,OFF)
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install