Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BlenderPhi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
raas
BlenderPhi
Commits
bebee3fb
Commit
bebee3fb
authored
Aug 21, 2011
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
new cmake doesn't consider CLang == GNUCC, set flags for clang explicitly.
parent
8fcc8dd7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+3
-0
3 additions, 0 deletions
CMakeLists.txt
with
3 additions
and
0 deletions
CMakeLists.txt
+
3
−
0
View file @
bebee3fb
...
...
@@ -499,6 +499,9 @@ if(UNIX AND NOT APPLE)
# GNU Compiler
if
(
CMAKE_COMPILER_IS_GNUCC
)
set
(
PLATFORM_CFLAGS
"-pipe -fPIC -funsigned-char -fno-strict-aliasing"
)
# CLang is the same as GCC for now.
elseif
(
CMAKE_CXX_COMPILER_ID MATCHES
"Clang"
)
set
(
PLATFORM_CFLAGS
"-pipe -fPIC -funsigned-char -fno-strict-aliasing"
)
# Intel C++ Compiler
elseif
(
CMAKE_C_COMPILER_ID MATCHES
"Intel"
)
# think these next two are broken
...
...
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
sign in
to comment