Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Building Environment: Set ARFLAGS to cr #10766
Conversation
fanquake
added the
Build system
label
Jul 7, 2017
|
Concept ACK Nit: I don't think that |
|
Concept ACK. Though, please don't hard-code it to "cr" in case the change causes trouble for some toolchain. Let's use AC_ARG_VAR instead, so that it may be overridden if necessary: AC_ARG_VAR(ARFLAGS, [flags passed to the archiver])
if test "x${ARFLAGS+set}" != "xset"; then
ARFLAGS="cr"
fi |
ReneNyffenegger
referenced
this pull request
Jul 10, 2017
Closed
Use AC_ARG_VAR to set ARFLAGS #10782
ReneNyffenegger
commented
Jul 10, 2017
|
I agree / have created a hopefully improved pull request: 10782 |
|
Thanks. utACK after squash. |
|
utACK bb4bb93 |
ReneNyffenegger
commented
Jul 13, 2017
|
I've squashed to commits / Hope the user is now recognized. |
| @@ -19,6 +19,12 @@ BITCOIN_GUI_NAME=bitcoin-qt | ||
| BITCOIN_CLI_NAME=bitcoin-cli | ||
| BITCOIN_TX_NAME=bitcoin-tx | ||
| +dnl Unless the user specified ARFLAGS, force it to be cr | ||
| +AC_ARG_VAR(ARFLAGS, [Flags for the archiver, defaults to <cr> if not set]) | ||
| +if test "x${ARFLAGS}" != "xset"; then |
| +dnl Unless the user specified ARFLAGS, force it to be cr | ||
| +AC_ARG_VAR(ARFLAGS, [Flags for the archiver, defaults to <cr> if not set]) | ||
| +if test "x${ARFLAGS}" != "xset"; then | ||
| + ARFLAGS="cr" |
TheBlueMatt
Jul 14, 2017
Contributor
Maybe add D to the default here, so that we're consistent even on platforms with a strange ar build?
ReneNyffenegger
commented
Jul 15, 2017
|
overriding didn't work.... because I goofed up when I manually tried to merge two branches: I had With the fix, I've also added the |
ReneNyffenegger
commented
Jul 15, 2017
|
Apparently, the |
|
Heh, ok, just leave it as cr I suppose. |
ReneNyffenegger
commented
Jul 15, 2017
|
I have removed the D flag again. Now, I have also commit 816aa59. I don't know why this is, if I should remove it, and how I could remove it. |
|
@ReneNyffenegger Please do: git rebase -i HEAD~2
# remove the line with "Fix multi_rpc test …"
git push -f |
ReneNyffenegger
commented
Jul 15, 2017
|
done rebase. |
|
utACK 517bfb1 |
|
ACK 912da1d. We'll need to do something about similar warnings in leveldb and secp256k1, but those will need to be submitted separately upstream. |
|
utACK 912da1d |
|
utACK 912da1d |
sipa
merged commit 912da1d
into
bitcoin:master
Jul 16, 2017
1 check passed
sipa
added a commit
that referenced
this pull request
Jul 16, 2017
|
|
sipa |
b4d03be
|
ReneNyffenegger commentedJul 7, 2017
Override the default of ARFLAGS of
crutocr.When building, ar produces a warning for each archive, for example
Since
uis the default anyway, it cannot hurt to remove it.