CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pkgutils: better compiler flags stuff
authorVictor Martinez <pitillo@ono.com>
Wed, 27 Jul 2011 13:35:23 +0000 (13:35 +0000)
committerVictor Martinez <pitillo@ono.com>
Wed, 27 Jul 2011 13:35:23 +0000 (13:35 +0000)
pkgutils/Pkgfile

index 7160c7be4390c8f642d1fcf26516f5f69984c5f7..cb020a8c75502d8c689d664b2d555a1f576ebbd1 100644 (file)
@@ -12,5 +12,5 @@ source=(http://crux.nu/files/$name-$version.tar.gz)
 build () {
   cd $name-$version
   make DESTDIR=$PKG install
-  sed 's|FLAGS=.*|FLAGS=""|' -i $PKG/etc/pkgmk.conf
+  sed 's|FLAGS=.*|FLAGS="-O2 -pipe"|' -i $PKG/etc/pkgmk.conf
 }