Skip to content

Commit

Permalink
Updating minimum OSX version from 10.8 to the current minimum version…
Browse files Browse the repository at this point in the history
… of 10.12 supported by Apple.
  • Loading branch information
kiwiMec authored and SeanTAllen committed Jan 31, 2019
1 parent eea7e8d commit 1a85c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile-ponyc
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ else
endif

ifeq ($(OSTYPE),osx)
ALL_CFLAGS += -mmacosx-version-min=10.8 -DUSE_SCHEDULER_SCALING_PTHREADS
ALL_CXXFLAGS += -stdlib=libc++ -mmacosx-version-min=10.8
ALL_CFLAGS += -mmacosx-version-min=10.12 -DUSE_SCHEDULER_SCALING_PTHREADS
ALL_CXXFLAGS += -stdlib=libc++ -mmacosx-version-min=10.12
endif

ifndef LLVM_CONFIG
Expand Down
2 changes: 1 addition & 1 deletion src/libponyc/codegen/genexe.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ static bool link_exe(compile_t* c, ast_t* program,

snprintf(ld_cmd, ld_len,
"%s -execute -no_pie -arch %.*s "
"-macosx_version_min 10.8 -o %s %s %s %s -lSystem",
"-macosx_version_min 10.12 -o %s %s %s %s -lSystem",
linker, (int)arch_len, c->opt->triple, file_exe, file_o,
lib_args, ponyrt
);
Expand Down

0 comments on commit 1a85c83

Please sign in to comment.