parted: drop LDFLAGS, pass CPPFLAGS to runConfigure. Thanks @alaviss

This commit is contained in:
fbrosson
2018-05-28 17:16:12 +00:00
parent eaf77b1725
commit a6bc7d2241

View File

@@ -5,7 +5,7 @@ data on hard disks and disk imaging."
HOMEPAGE="https://www.gnu.org/software/parted/"
COPYRIGHT="1999-2014 Free Software Foundation Inc."
LICENSE="GNU GPL v3"
REVISION="4"
REVISION="5"
SOURCE_URI="https://ftpmirror.gnu.org/parted/parted-$portVersion.tar.xz
https://ftp.gnu.org/gnu/parted/parted-$portVersion.tar.xz"
CHECKSUM_SHA256="858b589c22297cacdf437f3baff6f04b333087521ab274f7ab677cb8c6bb78e4"
@@ -102,13 +102,11 @@ defineDebugInfoPackage parted$secondaryArchSuffix \
BUILD()
{
autoreconf
CPPFLAGS="-Wimplicit-fallthrough=0" \
MAKEINFO=true \
runConfigure --omit-dirs sbinDir ./configure --sbindir=$commandBinDir \
--disable-device-mapper
make $jobArgs \
CPPFLAGS="-Wimplicit-fallthrough=0" \
LDFLAGS="-lblkid -luuid -lintl" \
make $jobArgs
}
INSTALL()