Changeset 103497


Ignore:
Timestamp:
Feb 27, 2013, 11:39:12 AM (7 years ago)
Author:
ryandesign@…
Message:

Change default configure.optflags from -O2 to -Os (#38218)

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/portfile.7

    r97999 r103497  
    11.\" portfile.7
    22.\"
    3 .\" Copyright (c) 2004-2011 The MacPorts Project
     3.\" Copyright (c) 2004-2013 The MacPorts Project
    44.\" Copyright (c) 2002-2003 Apple Inc.
    55.\" All rights reserved.
     
    11111111.br
    11121112.Sy Default:
    1113 .Em -O2
     1113.Em -Os
    11141114.br
    11151115.Sy Example:
  • trunk/base/src/port1.0/portconfigure.tcl

    r103449 r103497  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    2 # portconfigure.tcl
    32# $Id$
    43#
    5 # Copyright (c) 2007 - 2012 The MacPorts Project
     4# Copyright (c) 2007 - 2013 The MacPorts Project
    65# Copyright (c) 2007 Markus W. Weissmann <mww@macports.org>
    76# Copyright (c) 2002 - 2003 Apple Inc.
     
    130129# We could have debug/optimizations be global configurable at some point.
    131130options configure.optflags configure.cflags configure.cppflags configure.cxxflags configure.objcflags configure.ldflags configure.libs configure.fflags configure.f90flags configure.fcflags configure.classpath
    132 default configure.optflags  {-O2}
     131default configure.optflags  {-Os}
    133132# compiler flags section
    134133default configure.cflags    {${configure.optflags}}
Note: See TracChangeset for help on using the changeset viewer.