summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2010-02-08 22:15:32 +0000
committerMichał Górny <mgorny@gentoo.org>2010-02-08 22:15:32 +0000
commit4fbb879f4b3252be55f9397e22247c7f49a88135 (patch)
treeb5d60915d2ac5127540d2fc9d0f98c7c0cfe97fa /app-arch/zpaq/zpaq-1.10.ebuild
parentdev-util/tla: Fixed Thirdpartymirror (diff)
downloadsunrise-4fbb879f4b3252be55f9397e22247c7f49a88135.tar.gz
sunrise-4fbb879f4b3252be55f9397e22247c7f49a88135.tar.bz2
sunrise-4fbb879f4b3252be55f9397e22247c7f49a88135.zip
app-arch/zpaq: Fix linker arguments order.
svn path=/sunrise/; revision=10009
Diffstat (limited to 'app-arch/zpaq/zpaq-1.10.ebuild')
-rw-r--r--app-arch/zpaq/zpaq-1.10.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-arch/zpaq/zpaq-1.10.ebuild b/app-arch/zpaq/zpaq-1.10.ebuild
index 90d501b2f..fe752facf 100644
--- a/app-arch/zpaq/zpaq-1.10.ebuild
+++ b/app-arch/zpaq/zpaq-1.10.ebuild
@@ -42,16 +42,16 @@ src_configure() {
local stripflag=' -Wl,--strip-all'
# check whether the default compiler supports -Wl,--strip-all
echo 'int main(void) {return 0;}' > striptest.c
- "${CXX}" ${CXXFLAGS} striptest.c -o striptest \
- ${LDFLAGS} ${stripflag} || stripflag=
+ "${CXX}" ${CXXFLAGS} ${LDFLAGS} ${stripflag} \
+ striptest.c -o striptest || stripflag=
sed -i -e "s:%LDFLAGS%:${LDFLAGS}${stripflag}:" zpaqmake || die
fi
}
src_compile() {
- "${CXX}" ${CXXFLAGS} -DNDEBUG zpaq.cpp -o zpaq ${LDFLAGS} || die
- "${CXX}" ${CXXFLAGS} lzppre.cpp -o lzppre ${LDFLAGS} || die
+ "${CXX}" ${CXXFLAGS} -DNDEBUG ${LDFLAGS} zpaq.cpp -o zpaq || die
+ "${CXX}" ${CXXFLAGS} ${LDFLAGS} lzppre.cpp -o lzppre || die
if use optimization; then
# provide precompiled stub