mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/libtorrent: beautification
This commit is contained in:
parent
c728df1bf4
commit
8f160f953a
1 changed files with 5 additions and 10 deletions
|
@ -25,16 +25,11 @@ build() {
|
|||
|
||||
export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
|
||||
|
||||
if [[ $CARCH == 'arm' ]]; then
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-aligned \
|
||||
--disable-debug
|
||||
else
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-debug
|
||||
fi
|
||||
[[ $CARCH == 'arm' ]] && CONFIG='--enable-aligned'
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-debug $CONFIG
|
||||
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue