This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[ecj] patch to build on non linux targets
- From: Andreas Tobler <toa at pop dot agri dot ch>
- To: Java Patches <java-patches at gcc dot gnu dot org>
- Date: Sat, 23 Dec 2006 21:58:20 +0100
- Subject: [ecj] patch to build on non linux targets
Hi all,
this patchlet is needed on targets which do not understand the 'cp -a'.
Darwin for example is one of them..... ;)
Btw, where does the CL entry go, in top libjava or in classpath?
Ok?
Andreas
2006-12-23 Andreas Tobler <a.tobler@schweiz.org>
* classpath/tools/Makefile.am: Replace cp -a with a
more portable cp -pR.
* classpath/tools/Makefile.in: Regenerate.
Index: classpath/tools/Makefile.am
===================================================================
--- classpath/tools/Makefile.am (revision 120174)
+++ classpath/tools/Makefile.am (working copy)
@@ -168,8 +168,8 @@
cp $(top_srcdir)/resource/$$p classes/$$p; \
done
endif
- cp -a $(srcdir)/asm .
- cp -a $(srcdir)/classes .
+ cp -pR $(srcdir)/asm .
+ cp -pR $(srcdir)/classes .
## END GCJ LOCAL
## First add classpath tools stuff.
(cd classes; \