parameters: (env)
docstring: Default compiler options for posix platforms, assuming they use gcc.
docstring_summary: Default compiler options for posix platforms, assuming they use gcc.
docstring_tokens: Default compiler options for posix platforms assuming they use gcc .
function: def _posix_defaults(env):
    """
    Default compiler options for posix platforms, assuming they use gcc.
    """
    env.Replace(
      PLATFORM_CPPPATH = CLVar('/usr/include /usr/local/include /opt/local/include' '$CPPPATH'),
      PLATFORM_LIBPATH = CLVar('/usr/lib /usr/local/lib /opt/local/lib' '$LIBPATH'),
      #_PLATFORM_DEBUG_BUILD_FLAGS = "-g $COMPILER_WARNING_FLAGS -pedantic -DDEBUG",
      _PLATFORM_DEBUG_BUILD_FLAGS = "-g $COMPILER_WARNING_FLAGS -DDEBUG",
      _PLATFORM_RELEASE_DEBUG_BUILD_FLAGS = "-O2 -ffast-math -g $COMPILER_WARNING_FLAGS -pedantic -DDEBUG",
      _PLATFORM_RELEASE_BUILD_FLAGS = "-O3 -ffast-math -DNDEBUG",
      _PLATFORM_MINIMUM_RELEASE_BUILD_FLAGS = "-Os -DNDEBUG",
      plat_default_enableTCMalloc = 1,
      plat_default_extrasDir = None,
    )
function_tokens: def _posix_defaults ( env ) : env . Replace ( PLATFORM_CPPPATH = CLVar ( '/usr/include /usr/local/include /opt/local/include' '$CPPPATH' ) , PLATFORM_LIBPATH = CLVar ( '/usr/lib /usr/local/lib /opt/local/lib' '$LIBPATH' ) , #_PLATFORM_DEBUG_BUILD_FLAGS = "-g $COMPILER_WARNING_FLAGS -pedantic -DDEBUG", _PLATFORM_DEBUG_BUILD_FLAGS = "-g $COMPILER_WARNING_FLAGS -DDEBUG" , _PLATFORM_RELEASE_DEBUG_BUILD_FLAGS = "-O2 -ffast-math -g $COMPILER_WARNING_FLAGS -pedantic -DDEBUG" , _PLATFORM_RELEASE_BUILD_FLAGS = "-O3 -ffast-math -DNDEBUG" , _PLATFORM_MINIMUM_RELEASE_BUILD_FLAGS = "-Os -DNDEBUG" , plat_default_enableTCMalloc = 1 , plat_default_extrasDir = None , )