Initial Commit
- initial default booting image
This commit is contained in:
37
package/cups/0004-Remove-PIE-flags-from-the-build.patch
Normal file
37
package/cups/0004-Remove-PIE-flags-from-the-build.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
From 212275de62cd42ef71bbd37cebd9da6266ca5f15 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Date: Sun, 3 Jul 2016 12:20:21 +0200
|
||||
Subject: [PATCH] Remove PIE flags from the build
|
||||
|
||||
Generating a statically linked binary built with PIE requires the
|
||||
Scrt1.o file, which isn't part of Buildroot uClibc toolchains. To
|
||||
solve this, we simply disable the PIE flags.
|
||||
|
||||
[olivier tweak patch for 2.2.4]
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||||
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
|
||||
[Fabrice: updated for 2.3.0]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Michael: updated for 2.3.3]
|
||||
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
|
||||
---
|
||||
Makedefs.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makedefs.in b/Makedefs.in
|
||||
index 0d8df733b..2560c0c36 100644
|
||||
--- a/Makedefs.in
|
||||
+++ b/Makedefs.in
|
||||
@@ -154,7 +154,7 @@ ALL_CXXFLAGS = -I.. -D_CUPS_SOURCE $(CXXFLAGS) \
|
||||
$(ONDEMANDFLAGS) $(OPTIONS)
|
||||
ALL_DSOFLAGS = -L../cups @ARCHFLAGS@ @RELROFLAGS@ $(DSOFLAGS) $(OPTIM)
|
||||
ALL_LDFLAGS = -L../cups @LDARCHFLAGS@ @RELROFLAGS@ $(LDFLAGS) \
|
||||
- @PIEFLAGS@ $(OPTIM)
|
||||
+ $(OPTIM)
|
||||
ARCHFLAGS = @ARCHFLAGS@
|
||||
ARFLAGS = @ARFLAGS@
|
||||
BACKLIBS = @BACKLIBS@
|
||||
--
|
||||
2.34.1
|
||||
|
||||
Reference in New Issue
Block a user