Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
haskell-wasm
GHC
Commits
1da62d87
Commit
1da62d87
authored
9 months ago
by
Cristiano Moraes
Committed by
Luite Stegeman
6 months ago
Browse files
Options
Downloads
Patches
Plain Diff
configure: Find C++ probing when GCC version is the latest but G++ is old #23118
(cherry picked from commit
78ad81ec
)
parent
69020c2a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
m4/fp_find_cxx_std_lib.m4
+4
-3
4 additions, 3 deletions
m4/fp_find_cxx_std_lib.m4
with
4 additions
and
3 deletions
m4/fp_find_cxx_std_lib.m4
+
4
−
3
View file @
1da62d87
...
...
@@ -53,10 +53,11 @@ EOF
try_libs() {
dnl Try to link a plain object with CC manually
AC_MSG_CHECKING([for linkage against '${3}'])
if "$CC" -o actest actest.o ${1} 2>/dev/null; then
dnl Ensures that CC uses same library path of CXX.
p="`"$CXX" --print-file-name ${2}`"
d="`dirname "$p"`"
if "$CC" -o actest actest.o ${1} -L"$d" 2>/dev/null; then
CXX_STD_LIB_LIBS="${3}"
p="`"$CXX" --print-file-name ${2}`"
d="`dirname "$p"`"
dnl On some platforms (e.g. Windows) the C++ standard library
dnl can be found in the system search path. In this case $CXX
dnl --print-file-name will simply print the filename without a
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment