Skip to content

Commit

Permalink
fix version parser for clang (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
AngryLoki committed Dec 25, 2023
1 parent 932a0b3 commit 1ccdf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ AC_CONFIG_FILES([Makefile])

# Pass build configurations to version.h.in
AC_SUBST(cc, $CC)
AC_SUBST(ccv, $($CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p'))
AC_SUBST(ccv, $($CC -v 2>&1 | sed -n 's/.*version \(.*\)/\1/p;q'))
AC_SUBST(ccflags, $CFLAGS)
AC_SUBST(ldflags, "$LDFLAGS$LIBS")
# Reproducible build
Expand Down

0 comments on commit 1ccdf0e

Please sign in to comment.