summaryrefslogtreecommitdiffstats
path: root/src/openal.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/openal.mk')
-rw-r--r--src/openal.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/openal.mk b/src/openal.mk
index f77e787..096c07e 100644
--- a/src/openal.mk
+++ b/src/openal.mk
@@ -18,9 +18,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)/build' && cmake .. \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
- -DLIBTYPE=$(if $(BUILD_SHARED),SHARED,STATIC) \
+ cd '$(1)/build' && '$(TARGET)-cmake' .. \
-DALSOFT_EXAMPLES=FALSE \
-DALSOFT_UTILS=FALSE
$(MAKE) -C '$(1)/build' -j '$(JOBS)' install