VirtualBox

Changeset 2700 in kBuild


Ignore:
Timestamp:
Sep 20, 2013 12:33:51 AM (11 years ago)
Author:
bird
Message:

Hacks for building against newer mac os x SDKs.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r2668 r2700  
    230230  TOOL_GXX4MACHO_SUFFIX         = -4.2
    231231 endif
    232  KBUILD_MACOSX_SDK             ?= /Developer/SDKs/MacOSX10.$(KBUILD_MACOSX_TARGET_VERSION)$(if-expr $(KBUILD_MACOSX_TARGET_VERSION)==4,u,).sdk
     232 ifndef KBUILD_MACOSX_SDK
     233  KBUILD_MACOSX_SDK            := /Developer/SDKs/MacOSX10.$(KBUILD_MACOSX_TARGET_VERSION)$(if-expr $(KBUILD_MACOSX_TARGET_VERSION)==4,u,).sdk
     234  ifeq ($(wildcard $(KBUILD_MACOSX_SDK)),)
     235   KBUILD_MACOSX_SDK           := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform$(KBUILD_MACOSX_SDK)
     236  endif
     237 endif
    233238 TEMPLATE_BIN_TOOL              = GCC4MACHO
    234239 TEMPLATE_BIN_CFLAGS            = -g -mmacosx-version-min=10.$(KBUILD_MACOSX_TARGET_VERSION) -isysroot $(KBUILD_MACOSX_SDK)
  • trunk/src/sed/lib/getline.c

    r599 r2700  
    66
    77#include <sys/types.h>
     8#define getline stdio_getline   /* bird */
    89#include <stdio.h>
     10#undef getline                  /* bird */
    911
    1012#ifdef HAVE_STRINGS_H
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette