]> granicus.if.org Git - clang/commitdiff
Enable export maps also on {Free, Net}BSD.
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 26 Feb 2009 09:04:29 +0000 (09:04 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 26 Feb 2009 09:04:29 +0000 (09:04 +0000)
Don't ask me, how does this makefile-horribleness even work ;)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65522 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/Makefile

index 51943d5f27f9e8d0216f1c1b30971bc20dbcebfd..6bcd62ef7a00ceb7a24f2a43a7f19d5c5f421690 100644 (file)
@@ -14,7 +14,7 @@ ifeq ($(OS),Darwin)
 LD.Flags += -Wl,-exported_symbol -Wl,_main
 endif
 
-ifeq ($(OS),Linux)
+ifeq ($(OS), $(filter $(OS), Linux NetBSD FreeBSD))
 LD.Flags += -Wl,--version-script=Driver.map
 endif