Projects
Browse Source     Search     Timeline     Wiki

Changeset 23450

Show
Ignore:
Timestamp:
11/29/07 16:18:44 (12 months ago)
Author:
zarzycki@…
Message:

The -Os optimization defeats our various assumes() macros, despite the fact
that builtin_expect() is used. Therefore, let us turn on -freorder-blocks to
get the semantics we want out of the compiler.

Location:
trunk/launchd/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/launchd/src/Makefile.am

    r23445 r23450  
    1 AM_CFLAGS = -no-cpp-precomp -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -Dmig_external=__private_extern__ 
     1AM_CFLAGS = -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -freorder-blocks -Dmig_external=__private_extern__ 
    22 
    33CLEANFILES = protocol_vproc.h protocol_vprocServer.c protocol_vprocUser.c protocol_vprocServer.h                \ 
  • trunk/launchd/src/Makefile.in

    r23445 r23450  
    239239top_builddir = @top_builddir@ 
    240240top_srcdir = @top_srcdir@ 
    241 AM_CFLAGS = -no-cpp-precomp -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -Dmig_external=__private_extern__ 
     241AM_CFLAGS = -F/System/Library/PrivateFrameworks -Wall -Wextra -Waggregate-return -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror -D__MigTypeCheck=1 -fvisibility=hidden -freorder-blocks -Dmig_external=__private_extern__ 
    242242CLEANFILES = protocol_vproc.h protocol_vprocServer.c protocol_vprocUser.c protocol_vprocServer.h                \ 
    243243             launchd_internal.h launchd_internalServer.h launchd_internalServer.c launchd_internalUser.c        \