Projects
Eulaceura:Factory
gn
_service:obs_scm:add_safe_compilation_options.p...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:add_safe_compilation_options.patch of Package gn
From 573389cdbfb2ad912998030605d041f5702af434 Mon Sep 17 00:00:00 2001 From: misaka00251 <liuxin@iscas.ac.cn> Date: Wed, 17 Apr 2024 14:57:09 +0800 Subject: [PATCH] Add safe compilation option -fPIE for GN diff --git a/build/gen.py b/build/gen.py index 8ce5f8e..c2637c5 100755 --- a/build/gen.py +++ b/build/gen.py @@ -446,7 +446,8 @@ def WriteGNNinja(path, platform, host, options, args_list): '-Wextra-semi', '-Wundef', - '-std=c++17' + '-std=c++17', + '-fPIE' ]) # flags not supported by gcc/g++. -- 2.44.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2