CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cbf427
)
file: updated with host build. Thanks for the patch j_v
author
Victor Martinez
<pitillo@ono.com>
Sun, 15 May 2016 18:41:36 +0000
(18:41 +0000)
committer
Victor Martinez
<pitillo@ono.com>
Sun, 15 May 2016 18:41:36 +0000
(18:41 +0000)
file/Pkgfile
patch
|
blob
|
blame
|
history
diff --git
a/file/Pkgfile
b/file/Pkgfile
index cd502a5e1bc26aee4380be1087e0cc686a7d4288..11dde42a37d131bb20fc0de438f539343432cf16 100644
(file)
--- a/
file/Pkgfile
+++ b/
file/Pkgfile
@@
-12,6
+12,19
@@
source=(ftp://ftp.astron.com/pub/file/$name-$version.tar.gz)
build() {
cd $name-$version
+ OLD_PATH=$PATH
+ export PATH=/usr/bin:/bin
+
+ CC=gcc CXX=g++ \
+ CFLAGS="-O2 -pipe" CXXFLAGS="-O2 -pipe" \
+ LDFLAGS="" \
+ AR=ar LD=ld AS=as RANLIB=ranlib STRIP=strip \
+ ./configure --prefix=$SRC/host_file
+ make
+ make install
+
+ export PATH=$SRC/host_file/bin:$OLD_PATH
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \