Skip to content

Commit

Permalink
Force macOS compiler to AppleClang
Browse files Browse the repository at this point in the history
  • Loading branch information
bennettgoble committed Apr 6, 2024
1 parent a70bb65 commit 9bd22c4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
syntax: glob
stage/
*.cache/
*.la
*.lo
*.log
*.o
*.status
.deps/
.libs/
Makefile
autobuild-parabuild-bootstrap/
xmlrpc-epi/libtool
stage/
2 changes: 1 addition & 1 deletion build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pushd "$XMLRPCEPI_SOURCE_DIR"
darwin*)
opts="-arch $AUTOBUILD_CONFIGURE_ARCH $LL_BUILD_RELEASE"
plainopts="$(remove_cxxstd $opts)"
CFLAGS="$plainopts" CXXFLAGS="$opts" LDFLAGS="$plainopts" \
CFLAGS="$plainopts" CXXFLAGS="$opts" LDFLAGS="$plainopts" CC="clang" \
./configure --prefix="$stage" \
--with-expat=no \
--with-expat-lib="$stage/packages/lib/release/libexpat.a" \
Expand Down

0 comments on commit 9bd22c4

Please sign in to comment.