-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Makefile: fix check-libroach with linux release toolchain
The Linux release toolchain uses an ancient version of glibc that requires linking against -lrt. Teach CMake to link test binaries accordingly on Linux. The Linux release toolchain also uses a very recent version of libstdc++ that must be statically linked. Plumb the link flags down into CMake via the LDFLAGS variable. (Previously they were only passed down to links invoked by Go via the -extldflags flag in the LINKFLAGS variable.) Release note: None
- Loading branch information
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters