diff options
Diffstat (limited to 'system/kexec-tools/kexec-tools.SlackBuild')
-rw-r--r-- | system/kexec-tools/kexec-tools.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/kexec-tools/kexec-tools.SlackBuild b/system/kexec-tools/kexec-tools.SlackBuild index e218008c1320..2539b9654e0f 100644 --- a/system/kexec-tools/kexec-tools.SlackBuild +++ b/system/kexec-tools/kexec-tools.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=kexec-tools VERSION=${VERSION:-2.0.9} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -28,7 +28,11 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + # Fixed by Thibaut + # The -fPIC breaks the purgatory of kexec (= the code that passes + #command-line arguments to the kernel): kexec doesn't know how to + #handle the GOT and PLT relocation entries. + SLKCFLAGS="-O2" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" |