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
O
osc-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
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
mpcdf
obs
osc-plugins
Commits
8d94fcb4
Commit
8d94fcb4
authored
May 29, 2020
by
Lorenz Hüdepohl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CentOS 8 compatibility substitutions
parent
a390e62c
Pipeline
#75759
passed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
mpcdf_common.py
mpcdf_common.py
+4
-1
No files found.
mpcdf_common.py
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
()
...
...
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