CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: fixed use of CFLAGS
authorJose V Beneyto <sepen@crux.nu>
Thu, 18 Oct 2012 15:32:10 +0000 (15:32 +0000)
committerJose V Beneyto <sepen@crux.nu>
Thu, 18 Oct 2012 15:32:10 +0000 (15:32 +0000)
openssl/Pkgfile

index 39db011a82a66178f33e64c2a9f6e46f3f5d0c4d..7b1998f45b5294ea1778dda840896d95c7ffadc4 100644 (file)
@@ -13,6 +13,7 @@ source=(http://www.openssl.org/source/$name-$version.tar.gz \
 build() {
   cd $name-$version
   ./Configure linux-generic32 --prefix=/usr --openssldir=/etc/ssl shared
+  sed -i Makefile -e "s|-O3 -fomit-frame-pointer|$CFLAGS|"
   make
   make INSTALL_PREFIX=$PKG LIBDIR=lib MANDIR=/usr/man MANSUFFIX=ssl install
   find $PKG -name "*fips*" -delete