Skip to content

Use LN_S, AR, ARFLAGS in configure script and Makefiles#162

Draft
MisterDA wants to merge 2 commits intotrunkfrom
configure-make-LN_S-AR-ARFLAGS
Draft

Use LN_S, AR, ARFLAGS in configure script and Makefiles#162
MisterDA wants to merge 2 commits intotrunkfrom
configure-make-LN_S-AR-ARFLAGS

Conversation

@MisterDA
Copy link
Owner

@MisterDA MisterDA commented Feb 4, 2026

No description provided.

LN_S is the variable produced by Autoconf's AC_PROG_LN_S. It is less
surprising, and more idiomatic to find this spelling than LN.

https://www.gnu.org/software/autoconf/manual/autoconf-2.71/html_node/Particular-Programs.html#index-AC_005fPROG_005fLN_005fS-1
Both AR and ARFLAGS are GNU Make variables used by implicit rules and
are commonly used to select a build toolchain, as in:

    ./configure AR=llvm-ar ARFLAGS=rcvs

Deprecate ARCMD, which is not "standard". Export AR and ARFLAGS into
Makefile.config.

- https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#index-AR
- https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html#index-ARFLAGS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant