90e6999a07
- Update to the stuff in master to fix the issue at: https://bodhi.fedoraproject.org/updates/FEDORA-2020-050993b283#comment-1208958 - Update to 3.0.11 (via patches generated from git) - Plus newer upstream fixes (also via patches generated from git) - Fix shell exit failures in make - Fix .reloc section generation - Fix CHAR8 definition - Fix "make DESTDIR=..." - Change the installed .a/.o layout - Provide makefiles for consumers to use. - Make the -devel noarch since it's just headers. - Add a bunch of compatibility symlinks for our older packages. These will go away once we've migrated everything using them in fedora to use the newer make system... Signed-off-by: Peter Jones <pjones@redhat.com>
31 lines
895 B
Diff
31 lines
895 B
Diff
From 222f8926f864edf7b9088845bd980765b8352a68 Mon Sep 17 00:00:00 2001
|
|
From: Peter Jones <pjones@redhat.com>
|
|
Date: Tue, 19 Nov 2019 13:23:14 -0500
|
|
Subject: [PATCH 42/46] Switch to -fPIE
|
|
|
|
Signed-off-by: Peter Jones <pjones@redhat.com>
|
|
---
|
|
Make.defaults | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/Make.defaults b/Make.defaults
|
|
index 01269660ab8..15af35e6e26 100755
|
|
--- a/Make.defaults
|
|
+++ b/Make.defaults
|
|
@@ -193,10 +193,10 @@ endif
|
|
INCDIR += -I$(SRCDIR) -I$(TOPDIR)/inc -I$(TOPDIR)/inc/$(ARCH) \
|
|
-I$(TOPDIR)/inc/protocol
|
|
|
|
-# Only enable -fpic for non MinGW compilers (unneeded on MinGW)
|
|
+# Only enable -fPIE for non MinGW compilers (unneeded on MinGW)
|
|
GCCMACHINE := $(shell $(CC) -dumpmachine)
|
|
ifneq (mingw32,$(findstring mingw32, $(GCCMACHINE)))
|
|
- CFLAGS += -fpic
|
|
+ CFLAGS += -fPIE
|
|
endif
|
|
|
|
IS_FREEBSD = $(findstring FreeBSD, $(OS))
|
|
--
|
|
2.24.1
|
|
|