Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DIVINE
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
paradise
mirror
DIVINE
Commits
cbfa85cc
There was an error fetching the commit references. Please try again later.
Commit
cbfa85cc
authored
5 years ago
by
Zuzana Baranová
Browse files
Options
Downloads
Patches
Plain Diff
CC: Pass the C++ mode flag to Driver in both divc++ and diosc++.
parent
9f9cae8b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
divine/cc/native.cpp
+2
-0
2 additions, 0 deletions
divine/cc/native.cpp
divine/rt/dios-cc.cpp
+0
-1
0 additions, 1 deletion
divine/rt/dios-cc.cpp
with
2 additions
and
1 deletion
divine/cc/native.cpp
+
2
−
0
View file @
cbfa85cc
...
@@ -69,6 +69,8 @@ namespace divine::cc
...
@@ -69,6 +69,8 @@ namespace divine::cc
{
{
if
(
_ld_args
.
empty
()
)
if
(
_ld_args
.
empty
()
)
_ld_args
=
cc
::
ld_args
(
_po
,
_files
);
_ld_args
=
cc
::
ld_args
(
_po
,
_files
);
if
(
_cxx
)
_ld_args
.
push_back
(
"--driver-mode=g++"
);
}
}
void
Native
::
link
()
void
Native
::
link
()
...
...
This diff is collapsed.
Click to expand it.
divine/rt/dios-cc.cpp
+
0
−
1
View file @
cbfa85cc
...
@@ -76,7 +76,6 @@ auto NativeDiosCC::link_dios_native( bool cxx )
...
@@ -76,7 +76,6 @@ auto NativeDiosCC::link_dios_native( bool cxx )
if
(
cxx
)
if
(
cxx
)
{
{
_ld_args
.
push_back
(
"--driver-mode=g++"
);
_ld_args
.
push_back
(
"-stdlib=libc++"
);
_ld_args
.
push_back
(
"-stdlib=libc++"
);
_ld_args
.
push_back
(
"-L"
+
tmpdir
.
path
);
_ld_args
.
push_back
(
"-L"
+
tmpdir
.
path
);
writeFile
(
cxxlib
,
rt
::
libcxx
()
);
writeFile
(
cxxlib
,
rt
::
libcxx
()
);
...
...
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