diff options
author | Sam Bingner <sam@bingner.com> | 2018-08-15 22:20:45 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-08-15 22:20:45 -1000 |
commit | 24faa2fd26587f8c8a8985a35ce11d02bd91c1c6 (patch) | |
tree | 07a41bfb8a727a6528cb73b035fa77e49365cbae /data/libpar2/make.sh | |
parent | c70dbcbbae44b49d3d2496a4b0359c04d127e709 (diff) |
Make libpar2 compile
Diffstat (limited to 'data/libpar2/make.sh')
-rw-r--r-- | data/libpar2/make.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/libpar2/make.sh b/data/libpar2/make.sh index 452a4bfd5..814ddbb6b 100644 --- a/data/libpar2/make.sh +++ b/data/libpar2/make.sh @@ -1,4 +1,5 @@ pkg:setup -pkg:configure -make +autoreconf -f -i +PKG_CONFIG="$(realpath "${PKG_BASE}/util/pkg-config.sh")" ./configure ac_cv_prog_cc_g=no ac_cv_prog_cxx_g=no --build="$(${PKG_BASE}/util/config.guess)" --host="${PKG_TARG}" --enable-static=no --enable-shared=yes --prefix="$(cat "${PKG_BASE}/arch/${PKG_ARCH}/prefix")" --localstatedir="/var/cache/${PKG_NAME}" CFLAGS="-O2 -fno-common" CXXFLAGS="-O2 -fno-common -std=c++11" +make -j8 pkg:install |