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:
0dd0407
)
autoconf: added build/host configure options
author
Victor Martinez
<pitillo@ono.com>
Tue, 4 Apr 2017 22:43:49 +0000
(22:43 +0000)
committer
Victor Martinez
<pitillo@ono.com>
Tue, 4 Apr 2017 22:43:49 +0000
(22:43 +0000)
autoconf/Pkgfile
patch
|
blob
|
blame
|
history
diff --git
a/autoconf/Pkgfile
b/autoconf/Pkgfile
index 21f9163d33169bd95d6b07cceec8ad5a6c43ff80..c50f95a1e23feca3b3a66323a84890a6144ee842 100644
(file)
--- a/
autoconf/Pkgfile
+++ b/
autoconf/Pkgfile
@@
-11,7
+11,9
@@
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build () {
cd $name-$version
- ./configure --prefix=/usr
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr
make
make prefix=$PKG/usr install
rm -r $PKG/usr/share/info