File: 010-add-link_libraries-CMakeLists.txt.patch

package info (click to toggle)
grub-customizer 5.2.5-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,296 kB
  • sloc: cpp: 14,887; sh: 4; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: add link_libraries("-pie -fPIE") for CMakeLists.txt
 blhc check will pass.
Author: xiao sheng wen <atzlinux@sina.com>

Forwarded: not-needed
Last-Update: 2022-07-08
---

--- grub-customizer-5.2.1.orig/CMakeLists.txt
+++ grub-customizer-5.2.1/CMakeLists.txt
@@ -5,6 +5,8 @@ ADD_DEFINITIONS(-std=c++11)
 
 set(CMAKE_POSITION_INDEPENDENT_CODE ON)
 
+link_libraries("-pie -fPIE")
+
 find_package(PkgConfig)
 
 pkg_check_modules(GTKMM gtkmm-3.0)