Skip to content

Commit

Permalink
Set AR_FLAGS to 'cr' to avoid autotools default of 'cru'.
Browse files Browse the repository at this point in the history
The 'u' in the autotools default generates a lot of warnings when passed to
'ar'. Setting the flags to just 'cr' will prevent the "`u' modifier ignored
since `D' is the default (see `U')" message.
  • Loading branch information
skreuzer committed Aug 2, 2017
1 parent 0898031 commit 3700b4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ AC_MSG_RESULT(AUTOMAKE_VERSION)
AM_INIT_AUTOMAKE([tar-ustar] SERIAL_TESTS)
AM_MAINTAINER_MODE([enable])

m4_divert_text([DEFAULTS], [: "${AR_FLAGS=cr}"])

cfengine_version=cfversion

m4_undefine([cfversion])
Expand Down

0 comments on commit 3700b4b

Please sign in to comment.