Mercurial > mxe-octave
diff src/libgomp.mk @ 4058:c7e31c07c915
of-sparsrb: add new package
* src/librsb.mk: new file
* src/librsb-1-nobzero.patch: new patch
* src/of-sparsersb.mk: new file
* src/of-sparsersb-1-cross-build.patch: new patch
* src/libgomp.mk: install libgomp.spec to build tools
* build_packages.m: add sparserb package
* index.html: add librsb and of-sparsersb packages
* Makefile.in: add sparsersb package to of-
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 22 Nov 2015 19:01:31 -0500 |
parents | 385f5f4412b7 |
children | 8198522d93c4 |
line wrap: on
line diff
--- a/src/libgomp.mk Tue Nov 17 08:05:41 2015 -0500 +++ b/src/libgomp.mk Sun Nov 22 19:01:31 2015 -0500 @@ -36,6 +36,10 @@ # also copy omp.h to where other programs will see it $(INSTALL) -d "$(3)$(HOST_INCDIR)" $(INSTALL) -m644 '$(1)/build/$(TARGET)/libgomp/omp.h' '$(3)$(HOST_INCDIR)/' + if [ x"$(USE_SYSTEM_GCC)" == "xno" ]; then \ + $(INSTALL) -d "$(3)/$(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/"; \ + cat '$(1)/build/$(TARGET)/libgomp/libgomp.spec' | $(SED) 's,-lgomp,-L$(HOST_LIBDIR)/gcc/$(TARGET)/$($(PKG)_VERSION) -lgomp,' > '$(3)$(BUILD_TOOLS_PREFIX)/lib/gcc/$(TARGET)/$($(PKG)_VERSION)/libgomp.spec'; \ + fi #'$(MXE_CC)' \ # -W -Wall -Werror -ansi -pedantic \