cups: fix static linking problem
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 May 2016 14:17:13 +0000 (16:17 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 25 May 2016 20:45:46 +0000 (22:45 +0200)
commitda4264210f14259961352b9be39a4e1b10e6ed28
tree08f3d51a899c9ef128d1da158b67191f09596e26
parent0dca644e443c8f28bfe5aa1c98201dc3b49e1165
cups: fix static linking problem

In static linking configurations, cups fails to build due to the lack of
Scrt1.o from uClibc toolchains. This Scrt1.o is only needed for PIE
binaries. Since we don't really care about PIE binaries in the context
of Buildroot, this commit solves the problem by patching cups to not
generate a PIE binary.

Fixes:

  http://autobuild.buildroot.net/results/445a401da2f63a6c43d7c166516287db6cc977ab/

Cc: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cups/0004-remove-pie.patch [new file with mode: 0644]