Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
alta
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alta
alta
Commits
e856b046
Commit
e856b046
authored
Apr 07, 2015
by
Ludovic Courtès
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Do not override user CCFLAGS for libcore.
parent
05b3cda2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sources/core/SConscript
sources/core/SConscript
+4
-2
No files found.
sources/core/SConscript
View file @
e856b046
...
...
@@ -11,14 +11,16 @@ sources = ['common.cpp',
'rational_function.cpp'
,
'vertical_segment.cpp'
]
CCFLAGS
=
env
[
'CCFLAGS'
]
## Known compilation issue. If the core is not compiled with -fvisibility-hidden
## on OSX, the shared libraries and the softwares cannot share vtables. This
## impact the use of dynamic_cast in shared libraries.
##
if
sys
.
platform
==
'darwin'
:
CCFLAGS
=
[
'-fvisibility=hidden'
]
CCFLAGS
=
CCFLAGS
+
[
'-fvisibility=hidden'
]
else
:
CCFLAGS
=
[]
CCFLAGS
=
CCFLAGS
+
[]
if
env
[
'CC'
]
!=
'cl'
:
# We're not building a real static library, but rather what
...
...
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