File: 0001-Fix-fPIE-casing.patch

package info (click to toggle)
cifs-utils 2%3A7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,928 kB
  • sloc: ansic: 7,594; python: 1,399; makefile: 113; sh: 10
file content (25 lines) | stat: -rw-r--r-- 802 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
20
21
22
23
24
25
From cbf6c57678967b996e66edcf9330aee44068235f Mon Sep 17 00:00:00 2001
From: Mathieu Parent <math.parent@gmail.com>
Date: Wed, 31 Jul 2019 00:03:07 +0200
Subject: [PATCH] Fix -fPIE casing

-fpie seems to work, but bhlc complains that -fPIE is missing

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14061
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: cifs-utils/configure.ac
===================================================================
--- cifs-utils.orig/configure.ac
+++ cifs-utils/configure.ac
@@ -130,7 +130,7 @@ AC_CHECK_FUNC(setfsuid, , [AC_MSG_ERROR(
 
 # FIXME: add test(s) to autodisable these flags when compiler/linker don't support it
 if test $enable_pie != "no"; then
-	PIE_CFLAGS="-fpie -pie"
+	PIE_CFLAGS="-fPIE -pie"
 else
 	PIE_CFLAGS=""
 fi