diff options
author | Andreas Röver <roever@users.sf.net> | 2021-02-05 16:36:54 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2021-02-06 02:26:14 (GMT) |
commit | 6251260112b56385ac4052d32aaeff5361665180 (patch) | |
tree | 06b8c5dfa006833ae35ec75ea27ebbaede46d197 | |
parent | c06a91f8669039fc0ed4fb7833e76120c8190bbb (diff) | |
download | mxe-6251260112b56385ac4052d32aaeff5361665180.zip mxe-6251260112b56385ac4052d32aaeff5361665180.tar.gz mxe-6251260112b56385ac4052d32aaeff5361665180.tar.bz2 |
use BUILD_DIR and SOURCE_DIR variables
-rw-r--r-- | src/ms-gsl.mk | 6 |
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 |