Projects
home:Eustace:branches:Eulaceura:Factory
sysget
_service:obs_scm:0001-add-pie-compile-option.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-add-pie-compile-option.patch of Package sysget
From d94c298552f7e9eb9ee063903ed8e14c9e42e132 Mon Sep 17 00:00:00 2001 From: wang--ge <wang__ge@126.com> Date: Tue, 6 Jun 2023 14:12:44 +0800 Subject: [PATCH] add pie compile option --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 80c8fe5..d16c755 100644 --- a/Makefile +++ b/Makefile @@ -3,19 +3,19 @@ INSTALLDEST=/usr/local/bin/sysget CCP=g++ prog: main.o packagemanager.o utils.o translation.o - $(CCP) $(FLAGS) -o sysget main.o packagemanager.o utils.o translation.o + $(CCP) $(FLAGS) -pie -o sysget main.o packagemanager.o utils.o translation.o main.o: src/main.cpp src/main.hpp - $(CCP) $(FLAGS) -c src/main.cpp src/main.hpp + $(CCP) $(FLAGS) -fPIE -c src/main.cpp src/main.hpp packagemanager.o: src/packagemanager.hpp src/packagemanager.cpp - $(CCP) $(FLAGS) -c src/packagemanager.hpp src/packagemanager.cpp + $(CCP) $(FLAGS) -fPIE -c src/packagemanager.hpp src/packagemanager.cpp utils.o: src/utils.hpp src/utils.cpp - $(CCP) $(FLAGS) -c src/utils.hpp src/utils.cpp + $(CCP) $(FLAGS) -fPIE -c src/utils.hpp src/utils.cpp translation.o: src/translation.hpp src/translation.cpp - $(CCP) $(FLAGS) -c src/translation.hpp src/translation.cpp + $(CCP) $(FLAGS) -fPIE -c src/translation.hpp src/translation.cpp install: cp sysget $(INSTALLDEST) -- 2.33.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