diff options
-rw-r--r-- | system/gdisk/gdisk.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
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 |