summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZoltán Mizsei <zmizsei@extrowerk.com>2018-08-02 20:49:14 +0200
committerZoltán Mizsei <zmizsei@extrowerk.com>2018-08-02 20:49:14 +0200
commit6463bffd593d0b5346482dd3a35b7558fc056868 (patch)
tree039b91e0b96a148866db451e08d2090cb4a0d1fc /Makefile
parent8ef7d4fb5406de76bee138d78b9cb9fcf07eddb2 (diff)
downloadopenblas-6463bffd593d0b5346482dd3a35b7558fc056868.tar.gz
openblas-6463bffd593d0b5346482dd3a35b7558fc056868.tar.bz2
openblas-6463bffd593d0b5346482dd3a35b7558fc056868.zip
Haiku supporting patches
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b947c1198..d99521b19 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ endif
shared :
ifndef NO_SHARED
-ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android))
+ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku))
@$(MAKE) -C exports so
@ln -fs $(LIBSONAME) $(LIBPREFIX).so
@ln -fs $(LIBSONAME) $(LIBPREFIX).so.$(MAJOR_VERSION)
@@ -267,6 +267,8 @@ ifeq ($(F_COMPILER), GFORTRAN)
ifdef SMP
ifeq ($(OSNAME), WINNT)
-@echo "LOADER = $(FC)" >> $(NETLIB_LAPACK_DIR)/make.inc
+else ifeq ($(OSNAME), Haiku)
+ -@echo "LOADER = $(FC)" >> $(NETLIB_LAPACK_DIR)/make.inc
else
-@echo "LOADER = $(FC) -pthread" >> $(NETLIB_LAPACK_DIR)/make.inc
endif