Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
osc-plugins
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
mpcdf
obs
osc-plugins
Commits
8d94fcb4
Commit
8d94fcb4
authored
5 years ago
by
Lorenz Hüdepohl
Browse files
Options
Downloads
Patches
Plain Diff
CentOS 8 compatibility substitutions
parent
a390e62c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#75759
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mpcdf_common.py
+4
-1
4 additions, 1 deletion
mpcdf_common.py
with
4 additions
and
1 deletion
mpcdf_common.py
+
4
−
1
View file @
8d94fcb4
...
...
@@ -61,15 +61,18 @@ def dist_prjconf_tags(distribution):
centos8_prjconf_tags
=
textwrap
.
dedent
(
"""
Substitute: python python3
Substitute: python-devel python3-devel
ExpandFlags: module:python36-3.6
# Remove redhat-hardened-cc1 and redhat-annobin-cc1 spec
Optflags: x86_64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
"""
).
strip
()
sles15_prjconf_tags
=
textwrap
.
dedent
(
"""
%if
"
%{_repository}
"
==
"
gcc_6
"
||
"
%{_repository}
"
==
"
gcc_7
"
# gcc6/7 cannot deal with
"
-fstack-clash-protection
"
that has been added in SLE15 by default
Optflags:
*
-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
Optflags:
x86_64
-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
%endif
"""
).
strip
()
...
...
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