summaryrefslogtreecommitdiff
path: root/package/openjdk/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-09 10:04:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-09 10:04:12 +0200
commit9ee6fdd5deaccb16f5348ae61f78192f230f2517 (patch)
tree825ed2496e6280fe3ed9912c933dc3d4c36e8a0b /package/openjdk/Makefile
parent29b1e2852b8eff1a29aaa3bbd7960796337070fc (diff)
fix g++ usage with a workaround
when calling g++ from REAL_GNU_HOSTNAME/bin directory cc1plus cannot be found. May relative path is broken. When copying the binaries to one directory above, it works. Add patches. At least bootstrap target compile begins.
Diffstat (limited to 'package/openjdk/Makefile')
-rw-r--r--package/openjdk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/openjdk/Makefile b/package/openjdk/Makefile
index ca09f50eb..96897bdc8 100644
--- a/package/openjdk/Makefile
+++ b/package/openjdk/Makefile
@@ -81,7 +81,8 @@ CONFIGURE_ARGS+= --disable-docs \
--with-native2ascii=$(BOOTSTRAPJDK)/bin/native2ascii \
--without-rhino
-MAKE_ENV+= ALT_COMPILER_PATH=$(STAGING_HOST_DIR)/usr/$(REAL_GNU_TARGET_NAME)/bin
+MAKE_ENV+= ALT_COMPILER_PATH=$(STAGING_HOST_DIR)/$(REAL_GNU_TARGET_NAME) \
+ GCC_HONOUR_COPTS=s
do-extract:
cd ${WRKDIST}; mkdir $(PKG_NAME)-$(PKG_VERSION); \