[llvm-commits] [llvm] r67855 - /llvm/trunk/Makefile.rules
Julien Lerouge
jlerouge at apple.com
Fri Mar 27 11:18:05 PDT 2009
Author: jlerouge
Date: Fri Mar 27 13:18:00 2009
New Revision: 67855
URL: http://llvm.org/viewvc/llvm-project?rev=67855&view=rev
Log:
Fix build on MacOS 10.4 systems (suggested by Mike Smith).
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=67855&r1=67854&r2=67855&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Mar 27 13:18:00 2009
@@ -436,8 +436,8 @@
# 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/')
- SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -Wl,-dylib \
- -mmacosx-version-min=$(DARWIN_VERSION)
+ SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
+ -dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
else
ifeq ($(OS),Cygwin)
More information about the llvm-commits
mailing list