Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
5bfb8e1b
Unverified
Commit
5bfb8e1b
authored
Feb 16, 2018
by
Hein-Pieter van Braam
Committed by
GitHub
Feb 16, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16754 from akien-mga/x11-static-libgcc
X11: Link libgcc statically with use_static_cpp option
parents
da612c32
b526088a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
detect.py
platform/x11/detect.py
+3
-3
No files found.
platform/x11/detect.py
View file @
5bfb8e1b
...
...
@@ -49,7 +49,7 @@ def get_opts():
return
[
BoolVariable
(
'use_llvm'
,
'Use the LLVM compiler'
,
False
),
BoolVariable
(
'use_static_cpp'
,
'Link
stdc++ staticall
y'
,
False
),
BoolVariable
(
'use_static_cpp'
,
'Link
libgcc and libstdc++ statically for better portabilit
y'
,
False
),
BoolVariable
(
'use_sanitizer'
,
'Use LLVM compiler address sanitizer'
,
False
),
BoolVariable
(
'use_leak_sanitizer'
,
'Use LLVM compiler memory leaks sanitizer (implies use_sanitizer)'
,
False
),
BoolVariable
(
'pulseaudio'
,
'Detect & use pulseaudio'
,
True
),
...
...
@@ -275,6 +275,6 @@ def configure(env):
env
.
Append
(
CPPFLAGS
=
[
'-m64'
])
env
.
Append
(
LINKFLAGS
=
[
'-m64'
,
'-L/usr/lib/i686-linux-gnu'
])
# Link those statically for portability
if
env
[
'use_static_cpp'
]:
env
.
Append
(
LINKFLAGS
=
[
'-static-libstdc++'
])
env
.
Append
(
LINKFLAGS
=
[
'-static-lib
gcc'
,
'-static-lib
stdc++'
])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment