diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-03 17:30:37 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-03 17:30:37 +0200 |
commit | bca9dca1113c6687dd82fedeec6b916d730edad9 (patch) | |
tree | 6f0ab33c674f09bd54d51256a14d0d1c982a77a0 /jtools/jamvm/Makefile | |
parent | d90ffd11c468951c4801013ffcaf5178fb6548e8 (diff) | |
parent | 45ec86f9056dc8b7c2718a28ef7ac0cff6b7701e (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'jtools/jamvm/Makefile')
-rw-r--r-- | jtools/jamvm/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/jtools/jamvm/Makefile b/jtools/jamvm/Makefile index f02450fb0..639b7d875 100644 --- a/jtools/jamvm/Makefile +++ b/jtools/jamvm/Makefile @@ -9,12 +9,22 @@ PKG_RELEASE:= 1 PKG_MD5SUM:= 63220327925ace13756ae334c55a3baa PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=jamvm/} +ifeq (Darwin,${OStype}) +CC_FOR_BUILD:=${CC_FOR_BUILD} -m32 +CXX_FOR_BUILD:=${CXX_FOR_BUILD} -m32 +endif + include ../rules.mk install: ${STAGING_JAVA_HOST_DIR}/usr/bin/jamvm $(WRKBUILD)/.configured: ${WRKDIST}/.prepared - (cd $(WRKBUILD); ./configure --prefix=/usr --with-classpath-install-dir=$(STAGING_JAVA_HOST_DIR) ); + cd $(WRKBUILD); env \ + CC='${CC_FOR_BUILD}' \ + CXX='${CXX_FOR_BUILD}' \ + ./configure \ + --prefix=/usr \ + --with-classpath-install-dir=$(STAGING_JAVA_HOST_DIR) touch $@ $(WRKBUILD)/.compiled: ${WRKDIST}/.configured |