mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/crypto++: fix patching
This commit is contained in:
parent
af3cec86ef
commit
db99927fd6
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ source=("http://www.cryptopp.com/cryptopp${_srcver}.zip"
|
|||
md5sums=('96cbeba0907562b077e26bcffb483828'
|
||||
'2337c6edbc552d9142cae8e0854715e7'
|
||||
'31489843fb50d5ea2250855098f87983'
|
||||
'cf26a783d9432e7f9ab7f14d3db3f196')
|
||||
'8d454c524bafc05aa842ddfc63d8431d')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}
|
||||
|
@ -37,7 +37,7 @@ build() {
|
|||
patch -p0 -i fix_build_system.patch
|
||||
|
||||
# Fix gcc 4.7 build
|
||||
patch -Np1 -i "${srcdir}/gcc4.7.patch"
|
||||
patch -Np1 -F3 -i "${srcdir}/gcc4.7.patch"
|
||||
|
||||
sed -i -e 's/^CXXFLAGS/#CXXFLAGS/' GNUmakefile
|
||||
export CXXFLAGS="${CXXFLAGS} -DNDEBUG -fPIC"
|
||||
|
|
Loading…
Reference in a new issue