OSXPackageBuilder common.sh,1.8,1.9

Ian Silvester <[email protected]> Sat, 31 Dec 2016 17:25:19 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/OSXPackageBuilder
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv11232

Modified Files:
	common.sh 
Log Message:
Added PPC compilation optimisation flags to improve performance at the cost of increased binary size


Index: common.sh
===================================================================
RCS file: /cvsroot/ijbswa/OSXPackageBuilder/common.sh,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** common.sh	19 Jan 2016 02:56:43 -0000	1.8
--- common.sh	31 Dec 2016 17:25:17 -0000	1.9
***************
*** 74,77 ****
--- 74,78 ----
      ARCH="-arch x86_64 -arch i386"
      STARTUP="LaunchDaemon"
+     CFLAGS="-mtune=G5 ${CFLAGS}"
      ;;
    # Mac OS X 10.6 i386
***************
*** 92,95 ****
--- 93,97 ----
      ARCH="-arch x86_64 -arch i386 -arch ppc"
      STARTUP="LaunchDaemon"
+     CFLAGS="-mtune=G5 ${CFLAGS}"
      ;;
    # Mac OS X 10.5 all supported architectures
***************
*** 101,104 ****
--- 103,107 ----
      ARCH="-arch i386 -arch ppc"
      STARTUP="LaunchDaemon"
+     CFLAGS="-mtune=G5 ${CFLAGS}"
      ;;
    # Mac OS X 10.5 i386
***************
*** 119,122 ****
--- 122,126 ----
      ARCH="-arch ppc"
      STARTUP="LaunchDaemon"
+     CFLAGS="-mtune=G5 ${CFLAGS}"
      ;;
    # Mac OS X 10.4 all supported architectures
***************
*** 128,133 ****
      ARCH="-arch i386 -arch ppc"
      STARTUP="LaunchDaemon"
      ;;
!   # Mac OS X 10.4
    "tigeri386")
      XCODE_PATH="/Developer"
--- 132,138 ----
      ARCH="-arch i386 -arch ppc"
      STARTUP="LaunchDaemon"
+     CFLAGS="-mtune=G5 ${CFLAGS}"
      ;;
!   # Mac OS X 10.4 i386
    "tigeri386")
      XCODE_PATH="/Developer"
***************
*** 138,142 ****
      STARTUP="LaunchDaemon"
      ;;
!   # Mac OS X 10.4
    "tigerppc")
      XCODE_PATH="/Developer"
--- 143,147 ----
      STARTUP="LaunchDaemon"
      ;;
!   # Mac OS X 10.4 PPC
    "tigerppc")
      XCODE_PATH="/Developer"
***************
*** 146,151 ****
      ARCH="-arch ppc"
      STARTUP="LaunchDaemon"
      ;;
!   # Mac OS X 10.3
    "panther")
      XCODE_PATH="/Developer"
--- 151,157 ----
      ARCH="-arch ppc"
      STARTUP="LaunchDaemon"
+     CFLAGS="-mtune=G5 ${CFLAGS}"
      ;;
!   # Mac OS X 10.3 PPC
    "panther")
      XCODE_PATH="/Developer"
***************
*** 155,158 ****
--- 161,165 ----
      ARCH="-arch ppc"
      STARTUP="StartupItem"
+     CFLAGS="-mtune=G5 ${CFLAGS}"
      ;;
    # default


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot