Skip to content

Commit

Permalink
More fixes for FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Apr 27, 2020
1 parent 9acfa2f commit f8dd10e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/blas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ endif
endif

OPENBLAS_BUILD_OPTS += CFLAGS="$(CFLAGS) $(OPENBLAS_CFLAGS)"
OPENBLAS_BUILD_OPTS += FFLAGS="$(FFLAGS) $(OPENBLAS_FFLAGS) -L$(CSL_SHLIBDIR)"
OPENBLAS_BUILD_OPTS += LDFLAGS="$(LDFLAGS) $(RPATH_ESCAPED_ORIGIN) -L$(CSL_SHLIBDIR)"
OPENBLAS_BUILD_OPTS += FFLAGS="$(FFLAGS) $(OPENBLAS_FFLAGS) -L$(CSL_SHLIBDIR) $(call rpath_link_flag,$(CSL_SHLIBDIR))"
OPENBLAS_BUILD_OPTS += LDFLAGS="$(LDFLAGS) $(RPATH_ESCAPED_ORIGIN) -L$(CSL_SHLIBDIR) $(call rpath_link_flag,$(CSL_SHLIBDIR))"

# Debug OpenBLAS
ifeq ($(OPENBLAS_DEBUG), 1)
Expand Down
1 change: 1 addition & 0 deletions deps/csl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ifeq ($(OS),FreeBSD)
UNINSTALL_compilersupportlibraries := delete-uninstaller $(build_shlibdir)/libgcc_s.so.1
$(build_prefix)/manifest/compilersupportlibraries: | $(build_shlibdir) $(build_prefix)/manifest
@cp -v $$($(FC) --print-file-name=libgcc_s.so.1) $(build_shlibdir)
@ln -s libgcc_s.so.1 $(build_shlibdir)/libgcc_s.so
@echo "delete-uninstaller $(build_shlibdir)/libgcc_s.so.1" > "$@"
else
$(build_prefix)/manifest/compilersupportlibraries:
Expand Down

0 comments on commit f8dd10e

Please sign in to comment.