summaryrefslogtreecommitdiff
path: root/jtools/ecj/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-03 17:30:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-03 17:30:37 +0200
commitbca9dca1113c6687dd82fedeec6b916d730edad9 (patch)
tree6f0ab33c674f09bd54d51256a14d0d1c982a77a0 /jtools/ecj/Makefile
parentd90ffd11c468951c4801013ffcaf5178fb6548e8 (diff)
parent45ec86f9056dc8b7c2718a28ef7ac0cff6b7701e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'jtools/ecj/Makefile')
-rw-r--r--jtools/ecj/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/jtools/ecj/Makefile b/jtools/ecj/Makefile
index ffa6cd43e..32cfdeb53 100644
--- a/jtools/ecj/Makefile
+++ b/jtools/ecj/Makefile
@@ -13,10 +13,13 @@ include ../rules.mk
install: ${STAGING_JAVA_HOST_DIR}/usr/bin/ecj
${STAGING_JAVA_HOST_DIR}/usr/bin/ecj:
- env LD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib64 \
- PATH=$(STAGING_JAVA_HOST_DIR)/usr/bin:$$PATH \
- $(STAGING_JAVA_HOST_DIR)/usr/bin/gcj -g -O2 -Wl,-Bsymbolic -findirect-dispatch \
- -o ${STAGING_JAVA_HOST_DIR}/usr/bin/ecj --main=org.eclipse.jdt.internal.compiler.batch.Main \
+ env \
+ DYLD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib:$(STAGING_JAVA_HOST_DIR)/usr/lib64 \
+ LD_LIBRARY_PATH=$(STAGING_JAVA_HOST_DIR)/usr/lib:$(STAGING_JAVA_HOST_DIR)/usr/lib64 \
+ PATH=$(STAGING_JAVA_HOST_DIR)/usr/bin:$$PATH \
+ $(STAGING_JAVA_HOST_DIR)/usr/bin/gcj -g -O2 -findirect-dispatch \
+ -o ${STAGING_JAVA_HOST_DIR}/usr/bin/ecj \
+ --main=org.eclipse.jdt.internal.compiler.batch.Main \
$(TOPDIR)/jtools_build/gcc-4.5.2/ecj.jar
$(CP) $(TOPDIR)/jtools_build/gcc-4.5.2/ecj.jar ${STAGING_JAVA_HOST_DIR}/usr/share/ecj.jar