summaryrefslogtreecommitdiffstats
path: root/src/sdl_sound.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl_sound.mk')
-rw-r--r--src/sdl_sound.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sdl_sound.mk b/src/sdl_sound.mk
index add6c60..7b4f3c1 100644
--- a/src/sdl_sound.mk
+++ b/src/sdl_sound.mk
@@ -62,8 +62,7 @@ define $(PKG)_BUILD
mkdir -p '$(1)/cmake-build-test'
cp '$(PWD)/src/$(PKG)-test-CMakeLists.txt' '$(1)/cmake-build-test/CMakeLists.txt'
cp '$(PWD)/src/$(PKG)-test.c' '$(1)/cmake-build-test/'
- cd '$(1)/cmake-build-test' && cmake . \
- -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'
+ cd '$(1)/cmake-build-test' && '$(TARGET)-cmake' .
$(MAKE) -C '$(1)/cmake-build-test' -j '$(JOBS)'
endef