diff options
author | joerg <joerg> | 2011-11-11 18:45:46 +0000 |
---|---|---|
committer | joerg <joerg> | 2011-11-11 18:45:46 +0000 |
commit | 1e7c9e12222acbd2016b2e8d8757404cd3fcb408 (patch) | |
tree | afdcb2841535e3d59ee4e2a3bbf5ee880e0b7389 /shells/zsh-current/patches | |
parent | d1bd5fe71556fb798711cdd30d14359b3b0af002 (diff) | |
download | pkgsrc-1e7c9e12222acbd2016b2e8d8757404cd3fcb408.tar.gz |
Don't force -Wl,--whole-archive for NetBSD, it breaks the build with
clang, which doesn't have a reason to disable it again.
Diffstat (limited to 'shells/zsh-current/patches')
-rw-r--r-- | shells/zsh-current/patches/patch-ac | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/shells/zsh-current/patches/patch-ac b/shells/zsh-current/patches/patch-ac index 76059cddc5e..7cdbe793a8d 100644 --- a/shells/zsh-current/patches/patch-ac +++ b/shells/zsh-current/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.6 2011/07/30 11:53:52 ryoon Exp $ +$NetBSD: patch-ac,v 1.7 2011/11/11 18:45:46 joerg Exp $ --- configure.orig 2011-05-16 15:49:15.000000000 +0000 +++ configure @@ -21,12 +21,15 @@ $NetBSD: patch-ac,v 1.6 2011/07/30 11:53:52 ryoon Exp $ *) DLCFLAGS="${DLCFLAGS=-fPIC}" ;; esac else -@@ -11467,7 +11472,7 @@ $as_echo "$zsh_cv_sys_elf" >&6; } +@@ -11467,10 +11472,9 @@ $as_echo "$zsh_cv_sys_elf" >&6; } fi case "$host_os" in osf*) DLLDFLAGS="${DLLDFLAGS=-shared -expect_unresolved '*'}" ;; - *freebsd*|linux*|irix*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; -+ *freebsd*|linux*|irix*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; ++ *freebsd*|*netbsd*|linux*|irix*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;; sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;; - netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;; +- netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;; + aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;; + solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;; + darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;; |