diff options
author | Zhang Xianyi <traits.zhang@gmail.com> | 2015-03-19 11:51:36 -0500 |
---|---|---|
committer | Zhang Xianyi <traits.zhang@gmail.com> | 2015-03-19 11:52:09 -0500 |
commit | 75c40bcc4827524d4de5b8458bf197c6c8e66e38 (patch) | |
tree | 43d697e901a8d14512ae7aa643fd294e4388d6d5 /exports | |
parent | b62f9f412006ae5789f2095bde7361ee9159aece (diff) | |
download | openblas-75c40bcc4827524d4de5b8458bf197c6c8e66e38.tar.gz openblas-75c40bcc4827524d4de5b8458bf197c6c8e66e38.tar.bz2 openblas-75c40bcc4827524d4de5b8458bf197c6c8e66e38.zip |
Refs #520. Fixed ONLY_CBLAS=1 compiling bug on OSX.
Diffstat (limited to 'exports')
-rw-r--r-- | exports/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/exports/Makefile b/exports/Makefile index f2f688191..1fdaf2213 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -100,7 +100,12 @@ else $(OBJCONV) @objconv.def ../$(LIBNAME) ../$(LIBNAME).renamed $(LIBDYNNAME) : ../$(LIBNAME).renamed osx.def endif +ifeq ($(NOFORTRAN), 2) +#only build cblas without Fortran + $(CC) $(CFLAGS) -all_load -headerpad_max_install_names -install_name $(CURDIR)/../$(LIBDYNNAME) -dynamiclib -o ../$(LIBDYNNAME) $< -Wl,-exported_symbols_list,osx.def $(FEXTRALIB) +else $(FC) $(FFLAGS) -all_load -headerpad_max_install_names -install_name $(CURDIR)/../$(LIBDYNNAME) -dynamiclib -o ../$(LIBDYNNAME) $< -Wl,-exported_symbols_list,osx.def $(FEXTRALIB) +endif dllinit.$(SUFFIX) : dllinit.c $(CC) $(CFLAGS) -c -o $(@F) -s $< |