Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[glibc] Add enable-cet for x86. Contribute to JB#46923
  • Loading branch information
xfade committed Aug 29, 2019
1 parent d41ac80 commit 32cf0ee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions glibc.changes
@@ -1,3 +1,6 @@
* Mon Aug 26 2019 Niels Breet <niels.breet@jolla.com> - 2.28+git6
- Enable-cet for x86. Contributes to JB#46923

* Fri Aug 09 2019 Niels Breet <niels.breet@jolla.com> - 2.28+git5
- Get rid of quilt build-requires. Contributes to JB#46706

Expand Down
11 changes: 10 additions & 1 deletion glibc.spec
Expand Up @@ -2,6 +2,9 @@
# Default: Always disable the benchtests.
%bcond_with benchtests

# Only some architectures have static PIE support.
%define pie_arches %{ix86} x86_64

Name: glibc

Summary: GNU C library shared libraries
Expand Down Expand Up @@ -279,8 +282,14 @@ build()
--enable-obsolete-rpc \
--disable-profile \
--enable-obsolete-rpc \
%ifarch %{pie_arches}
--enable-static-pie \
%endif
--enable-tunables \
${core_with_options} \
--disable-multi-arch \
%ifarch %{ix86}
--disable-multi-arch \
%endif
%if %{without werror}
--disable-werror \
%endif
Expand Down

0 comments on commit 32cf0ee

Please sign in to comment.