From 2488261836ba56feaa221153336ab7a9a14d88dc Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Thu, 26 Feb 2009 09:04:29 +0000 Subject: [PATCH] Enable export maps also on {Free, Net}BSD. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Driver/Makefile b/Driver/Makefile index 51943d5f27..6bcd62ef7a 100644 --- a/Driver/Makefile +++ b/Driver/Makefile @@ -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 -- 2.40.0