mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
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 <rworkman@slackbuilds.org>
This commit is contained in:
parent
ad85ea5ade
commit
c42b16167c
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue