Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
glibc
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Labels
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
mer-core
glibc
Commits
24af291b
Commit
24af291b
authored
Feb 06, 2020
by
Niels Breet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[glibc] Use global RPM_OPT_FLAGS for arm builds. Contributes to JB#48210
parent
4989a229
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
glibc.changes
glibc.changes
+3
-0
glibc.spec
glibc.spec
+14
-4
No files found.
glibc.changes
View file @
24af291b
* Thu Feb 06 2020 Niels Breet <niels.breet@jolla.com> - 2.30+git3
- Use global RPM_OPT_FLAGS for arm builds. Contributes to JB#48210
* Sun Feb 02 2020 Matti Kosola <matti.kosola@jolla.com> - 2.30+git2
- Revert: elf: Refuse to dlopen PIE objects. JB#48615
...
...
glibc.spec
View file @
24af291b
...
...
@@ -5,7 +5,7 @@
Name: glibc
Summary: GNU C library shared libraries
Version: 2.30+git
2
Version: 2.30+git
3
Release: 0
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
URL: http://www.gnu.org/software/libc/
...
...
@@ -244,6 +244,19 @@ build_CFLAGS="$BuildFlags -O1"
build_CFLAGS="$BuildFlags -O3"
%endif
# Use RPM_OPT_FLAGS, so we use system wide optimizations
# GLIBC currently doesn't build with FORTIFY_SOURCE
# Every other flag which we filter out is already specified in this spec
# or is obsolete for our current gcc.
%ifarch %{arm}
OPT_FLAGS=`echo "$RPM_OPT_FLAGS" | sed -e "s/-O2\ //g" \
| sed -e "s/-fstack-protector\ //g" \
| sed -e "s/-Wp,-D_FORTIFY_SOURCE=2\ //g" \
| sed -e "s/--param=ssp-buffer-size=4\ //g"`
build_CFLAGS="$build_CFLAGS $OPT_FLAGS"
%endif
# Special flag to enable annobin annotations for statically linked
# assembler code. Needs to be passed to make; not preserved by
# configure.
...
...
@@ -277,14 +290,11 @@ build()
--enable-stack-protector=strong \
--disable-profile \
--enable-obsolete-rpc \
--disable-profile \
--enable-obsolete-rpc \
${core_with_options} \
--disable-multi-arch \
%if %{without werror}
--disable-werror \
%endif
--disable-profile \
%if %{with bootstrap}
--without-selinux \
%endif
...
...
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