summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Röver <roever@users.sf.net>2021-02-05 16:36:54 (GMT)
committerTony Theodore <tonyt@logyst.com>2021-02-06 02:26:14 (GMT)
commit6251260112b56385ac4052d32aaeff5361665180 (patch)
tree06b8c5dfa006833ae35ec75ea27ebbaede46d197
parentc06a91f8669039fc0ed4fb7833e76120c8190bbb (diff)
downloadmxe-6251260112b56385ac4052d32aaeff5361665180.zip
mxe-6251260112b56385ac4052d32aaeff5361665180.tar.gz
mxe-6251260112b56385ac4052d32aaeff5361665180.tar.bz2
use BUILD_DIR and SOURCE_DIR variables
-rw-r--r--src/ms-gsl.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ms-gsl.mk b/src/ms-gsl.mk
index 731af82..af3aeeb 100644
--- a/src/ms-gsl.mk
+++ b/src/ms-gsl.mk
@@ -11,7 +11,7 @@ $(PKG)_DEPS := cc
$(PKG)_SUBDIR := GSL-$($(PKG)_VERSION)
define $(PKG)_BUILD
- mkdir '$(1)/build'
- cd '$1/build' && '$(TARGET)-cmake' -DGSL_TEST=0 ..
- $(MAKE) -C '$(1)/build' -j $(JOBS) install
+ '$(TARGET)-cmake' -S $(SOURCE_DIR) -B $(BUILD_DIR) -DGSL_TEST=0
+ $(MAKE) -C '$(BUILD_DIR)' -j $(JOBS)
+ $(MAKE) -C '$(BUILD_DIR)' install
endef