]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Don't bother with "GCC" on macOS.
authorGuy Harris <[email protected]>
Sun, 19 Apr 2020 04:01:47 +0000 (21:01 -0700)
committerGuy Harris <[email protected]>
Sun, 19 Apr 2020 04:01:47 +0000 (21:01 -0700)
The "gcc" on the Travis buildbots is just Apple's "gcc", which is an
alternate front end to Clang, rather than being GCC-for-macOS.

.travis.yml

index afa7a531079d62f10cc3d10da36e93a4ead0bf7d..b81a1aad7796d4ae647841a762d71ec7cd448b65 100644 (file)
@@ -29,6 +29,11 @@ compiler:
 # tizzy about the possibility of Arm-based Macs.  Suppress the macOS
 # builds that don't work.
 #
+# In addition, with newer versions of macOS, Apple ships a "gcc" that's
+# just another front end to Clang, presumably for backwards
+# compatibility with build scripts etc. that expect the compiler to be
+# "gcc", so don't bother doing "gcc" builds on macOS.
+#
 jobs:
   exclude:
   - arch: ppc64le
@@ -37,6 +42,8 @@ jobs:
     os: osx
   - arch: arm64
     os: osx
+  - compiler: gcc
+    os: osx
 
 cache: ccache