summaryrefslogtreecommitdiff
path: root/jtools
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2011-04-02 19:55:04 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-02 21:55:59 +0200
commit7f60e6cf0e0bf73ffd396f7198627c8922d4865b (patch)
tree10c28642de1167a58c8fd05303d8135295fb46a9 /jtools
parenta6d93f95b95369531b703146842373cf575ed9f3 (diff)
fix ecj build
• -Bsymbolic is only for GNU ld on ELF creating DLLs, not for Apple ld on Mach-O creating binaries • /usr/lib64 doesn’t exist on some OSes, I might have heard… • indent Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'jtools')
-rw-r--r--jtools/ecj/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/jtools/ecj/Makefile b/jtools/ecj/Makefile
index ffa6cd43e..e87354132 100644
--- a/jtools/ecj/Makefile
+++ b/jtools/ecj/Makefile
@@ -13,10 +13,12 @@ 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 \
+ 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