Mercurial > mxe-octave
view src/gcc-mpc.mk @ 3638:af91c561ff39
openscenegraph: allow cross compile to succeed
* src/openscenegraph.mk: add -D_OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED_EXITCODE=0,
build out of source, enable static/dynamic libs
* src/openscenegraph-1-fixes.patch: new file
* dist-files.mk: added openscenegraph-1-fixes.patch
author | John Donoghue |
---|---|
date | Wed, 02 Jul 2014 15:27:12 -0400 |
parents | d667a65b0f2f |
children | d95b8b84cea7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gcc-mpc $(PKG)_IGNORE = $(mpc_IGNORE) $(PKG)_VERSION = $(mpc_VERSION) $(PKG)_CHECKSUM = $(mpc_CHECKSUM) $(PKG)_SUBDIR = $(mpc_SUBDIR) $(PKG)_FILE = $(mpc_FILE) $(PKG)_URL = $(mpc_URL) $(PKG)_URL_2 = $(mpc_URL_2) $(PKG)_DEPS := gcc-gmp gcc-mpfr define $(PKG)_UPDATE echo $(mpc_VERSION) endef define $(PKG)_BUILD mkdir '$(1).build' cd '$(1).build' && '$(1)/configure' \ --prefix='$(BUILD_TOOLS_PREFIX)' \ --disable-shared \ --with-gmp='$(BUILD_TOOLS_PREFIX)' $(MAKE) -C '$(1).build' -j '$(JOBS)' $(MAKE) -C '$(1).build' -j 1 install endef