summaryrefslogtreecommitdiffstats
path: root/src/openblas.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-11-17 00:58:52 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-11-17 03:25:19 (GMT)
commitb06795b831a710478b345fff4682064888fd9ee2 (patch)
tree82e4839ddb5dcec97cfcba22cfaf94d99ff7e7cc /src/openblas.mk
parent3b57e93a576d050a3b64cf36f6f19d1409022787 (diff)
downloadmxe-b06795b831a710478b345fff4682064888fd9ee2.zip
mxe-b06795b831a710478b345fff4682064888fd9ee2.tar.gz
mxe-b06795b831a710478b345fff4682064888fd9ee2.tar.bz2
Add a $(BITS) convenience variable
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/openblas.mk')
-rw-r--r--src/openblas.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openblas.mk b/src/openblas.mk
index bfdafd6..1583ab0 100644
--- a/src/openblas.mk
+++ b/src/openblas.mk
@@ -35,7 +35,7 @@ $(PKG)_MAKE_OPTS = \
ARCH=$(strip \
$(if $(findstring x86_64,$(TARGET)),x86_64,\
$(if $(findstring i686,$(TARGET)),x86)) \
- BINARY=$(if $(findstring x86_64,$(TARGET)),64,32)) \
+ BINARY=$(BITS) \
$(if $(BUILD_STATIC),NO_SHARED=1) \
$(if $(BUILD_SHARED),NO_STATIC=1) \
EXTRALIB="`'$(TARGET)-pkg-config' --libs pthreads` -fopenmp"