[ELDK] [PATCH] Make cross-compilation of appWeb work
Thomas Bleher
thomas.bleher at philosys.de
Thu Jun 12 10:34:19 CEST 2008
[Is this the right list for patches? If not, please suggest where I
should send them. Thanks!]
The patch below is needed to correctly cross-compile appWeb. Patch
against latest eldk/build.git.
Regards,
Thomas Bleher
---
target_rpms/appWeb/SPECS/appWeb.spec | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/target_rpms/appWeb/SPECS/appWeb.spec b/target_rpms/appWeb/SPECS/appWeb.spec
index 493654a..5f3070d 100644
--- a/target_rpms/appWeb/SPECS/appWeb.spec
+++ b/target_rpms/appWeb/SPECS/appWeb.spec
@@ -26,6 +26,10 @@ embedded devices.
%build
BLD_CC_FOR_BUILD="/usr/bin/gcc -B/usr/bin/" \
BLD_STRIP_FOR_BUILD=/usr/bin/strip \
+CC=${CROSS_COMPILE}gcc \
+LD=${CROSS_COMPILE}ld \
+AR=${CROSS_COMPILE}ar \
+STRIP=${CROSS_COMPILE}strip \
./configure --host=%{_target_platform} --type=RELEASE --enable-shared \
--with-openssl=loadable --with-openssl-libs="ssl crypto" --disable-multi-thread
--
Thomas Bleher
Philosys Software GmbH
Edisonstraße 6
85716 Unterschleißheim
Email: thomas.bleher at philosys.de
http://www.philosys.de
Tel: (+49) 89 321407-57
Fax: (+49) 89 321407-12
Geschäftsführer:
Peter Göb, Horst Lauber, Emil Näpflein, Dr. Detlef Strehmel
Firmensitz: Unterschleißheim
Amtsgericht München HRB 85577
More information about the eldk
mailing list