Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=d257db98bcc938e7a5672579deb495bec97c1fa0

commit d257db98bcc938e7a5672579deb495bec97c1fa0
Author: Michel Hermier <[email protected]>
Date:   Tue Nov 27 18:14:50 2012 +0100

scripts/makepkg

* Remove the "optimization OK" generator, it doesn't make sence these
days since modern build systems hides compilation lines by default.

diff --git a/scripts/makepkg b/scripts/makepkg
index 5cd7fda..8792311 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -504,15 +504,6 @@ chroot_enter() {
fi
rm -rf $CHROOTDIR/var/tmp/fst/*
chroot_clean
-               # check optimization and write it to $BUILDSCRIPT
-               msg "Checking for optimization..."
-               if grep -q -- "\($CFLAGS\|$CXXFLAGS\)" "${BUILDLOG}"; then
-                       if ! grep -q "# optimization" "${BUILDSCRIPT}"; then
-                               $ECHO -e "\n# optimization OK" >> 
"${BUILDSCRIPT}"
-                       fi
-               else
-                       warning "This package isn't ${CARCH}-optimized!"
-               fi
# copy build log to LOGDIR if set
if [ -d "$LOGDIR" ]; then
msg "Creating permanent copy of build log"
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to