Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhmars:arch
gcc13
_service:download_url:0001-Always-use-z-now-whe...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:download_url:0001-Always-use-z-now-when-linking-with-pie.patch of Package gcc13
From 53b6bde60504dd4395e6b1f9842d1cd19db808f4 Mon Sep 17 00:00:00 2001 From: William Douglas <william.douglas@intel.com> Date: Tue, 5 Apr 2022 10:15:11 -0700 Subject: [PATCH] Always use -z now when linking with -pie Patch inspired by Ubuntu. --- gcc/gcc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/gcc.cc b/gcc/gcc.cc index a4d863ca4..06af6e94d 100644 --- a/gcc/gcc.cc +++ b/gcc/gcc.cc @@ -1040,7 +1040,7 @@ proper position among the other output files. */ #ifndef LINK_PIE_SPEC #ifdef HAVE_LD_PIE #ifndef LD_PIE_SPEC -#define LD_PIE_SPEC "-pie" +#define LD_PIE_SPEC "-pie -z now" #endif #else #define LD_PIE_SPEC "" -- 2.35.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor