> We are adding LIBCXX to LIBS in calls to SetupJdkLibrary whenever LINK_TYPE > is C++. We should do this automatically in SetupJdkLibrary for C++ linking. > > I also removed the superfluous `-lc` from some places where it had been added.
Magnus Ihse Bursie has updated the pull request incrementally with two additional commits since the last revision: - Fix extra space - Restore $(LIBCXX) in tests since they don't use SetupJdkLibrary. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/18298/files - new: https://git.openjdk.org/jdk/pull/18298/files/ab5157e0..d7efdeaf Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=18298&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18298&range=00-01 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/18298.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/18298/head:pull/18298 PR: https://git.openjdk.org/jdk/pull/18298