Skip to content

Commit d8a9306

Browse files
committed
CI: Use a workaround for OpenIndiana Clang. [skip appveyor]
Same as in libpcap.
1 parent 9939a0f commit d8a9306

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ esac
4141

4242
[ "$TCPDUMP_TAINTED" != yes ] && CFLAGS=`cc_werr_cflags`
4343

44+
case `cc_id`/`os_id` in
45+
clang-*/SunOS-5.11)
46+
# Work around https://www.illumos.org/issues/16369
47+
[ `uname -o` = illumos ] && grep -Fq OpenIndiana /etc/release && CFLAGS="-Wno-fuse-ld-path${CFLAGS:+ $CFLAGS}"
48+
;;
49+
esac
50+
4451
# If necessary, set TCPDUMP_CMAKE_TAINTED here to exempt particular cmake from
4552
# warnings. Use as specific terms as possible (e.g. some specific version and
4653
# some specific OS).

0 commit comments

Comments
 (0)