Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to build LLVM 3.3 on OS X 10.10
- Loading branch information
Viral B. Shah
committed
Jul 29, 2014
1 parent
43921e0
commit 92ad1b6
Showing
3 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- Makefile.rules.old 2014-07-29 12:01:50.000000000 +0530 | ||
+++ Makefile.rules 2014-07-29 12:02:10.000000000 +0530 | ||
@@ -571,9 +571,9 @@ ifeq ($(HOST_OS),Darwin) | ||
DARWIN_VERSION := `sw_vers -productVersion` | ||
endif | ||
# Strip a number like 10.4.7 to 10.4 | ||
- DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/') | ||
+ DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]+).*/\1/') | ||
# Get "4" out of 10.4 for later pieces in the makefile. | ||
- DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/') | ||
+ DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]+).*/\1/') | ||
|
||
LoadableModuleOptions := -Wl,-flat_namespace -Wl,-undefined,suppress | ||
SharedLinkOptions := -dynamiclib |
92ad1b6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build on OS X 10.10 public beta works fine.