From c42b16167c474e823a114e53cf035d4da15e0b24 Mon Sep 17 00:00:00 2001 From: Steven Pledger Date: Thu, 3 Mar 2011 20:15:27 -0600 Subject: system/gdisk: Don't override C(XX)FLAGS during build Doing so will omit "-D_FILE_OFFSET_BITS=64" from them, and gdisk will think your GPT is damaged on 32bit systems. Signed-off-by: Robby Workman --- system/gdisk/gdisk.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'system/gdisk') diff --git a/system/gdisk/gdisk.SlackBuild b/system/gdisk/gdisk.SlackBuild index bcb1890d38c20..a55e4519a980b 100644 --- a/system/gdisk/gdisk.SlackBuild +++ b/system/gdisk/gdisk.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=gdisk VERSION=${VERSION:-0.6.14} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -51,9 +51,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -make \ - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" +# Don't override C(XX)FLAGS, most importantly the "-D_FILE_OFFSET_BITS=64" +# or gdisk will think your GPT table is damaged... +CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make mkdir -p $PKG/usr/sbin install -m 0755 gdisk $PKG/usr/sbin -- cgit v1.2.3