mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-24 15:12:47 +00:00
18e12e95ab
Commit 0d5767e664
("btrfs-progs: build: use -std=gnu11") was supposed
to set C level to gnu11 to match kernel but it was done only in the C=1
(checker) branch. The std used was still gnu90 that can be verified by
running with V=1.
Set the std option to gnu11 unconditionally and delete the m4 macros
that were detecting support on older gcc (4.5). The reference build on
lowest supported distro (Centos 7) compiles fine.
Signed-off-by: David Sterba <dsterba@suse.com>
53 lines
1.6 KiB
PHP
53 lines
1.6 KiB
PHP
# Variables set during configure phase:
|
|
# * build environment, paths
|
|
# * features (eg. convert, documentation)
|
|
export
|
|
|
|
CC = @CC@
|
|
LN_S = @LN_S@
|
|
AR = @AR@
|
|
RM = @RM@
|
|
RMDIR = @RMDIR@
|
|
INSTALL = @INSTALL@
|
|
DISABLE_DOCUMENTATION = @DISABLE_DOCUMENTATION@
|
|
DISABLE_BTRFSCONVERT = @DISABLE_BTRFSCONVERT@
|
|
BUILD_PROGRAMS = @BUILD_PROGRAMS@
|
|
BUILD_SHARED_LIBRARIES = @BUILD_SHARED_LIBRARIES@
|
|
BUILD_STATIC_LIBRARIES = @BUILD_STATIC_LIBRARIES@
|
|
BTRFSCONVERT_EXT2 = @BTRFSCONVERT_EXT2@
|
|
BTRFSCONVERT_REISERFS = @BTRFSCONVERT_REISERFS@
|
|
COMPRESSION_LZO = @COMPRESSION_LZO@
|
|
COMPRESSION_ZSTD = @COMPRESSION_ZSTD@
|
|
PYTHON_BINDINGS = @PYTHON_BINDINGS@
|
|
PYTHON = @PYTHON@
|
|
PYTHON_CFLAGS = @PYTHON_CFLAGS@
|
|
CRYPTOPROVIDER_BUILTIN = @CRYPTOPROVIDER_BUILTIN@
|
|
CRYPTO_CFLAGS = @GCRYPT_CFLAGS@ @SODIUM_CFLAGS@ @KCAPI_CFLAGS@
|
|
|
|
HAVE_CFLAG_msha = @HAVE_CFLAG_msha@
|
|
|
|
SUBST_CFLAGS = @CFLAGS@
|
|
SUBST_LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS_BASE = @UUID_LIBS@ @BLKID_LIBS@ @LIBUDEV_LIBS@ -L. -pthread
|
|
LIBS_COMP = @ZLIB_LIBS@ @LZO2_LIBS@ @ZSTD_LIBS@
|
|
LIBS_PYTHON = @PYTHON_LIBS@
|
|
LIBS_CRYPTO = @GCRYPT_LIBS@ @SODIUM_LIBS@ @KCAPI_LIBS@
|
|
STATIC_LIBS_BASE = @UUID_LIBS_STATIC@ @BLKID_LIBS_STATIC@ -L. -pthread
|
|
STATIC_LIBS_COMP = @ZLIB_LIBS_STATIC@ @LZO2_LIBS_STATIC@ @ZSTD_LIBS_STATIC@
|
|
|
|
prefix ?= @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
libdir ?= @libdir@
|
|
incdir = @includedir@
|
|
udevdir = @UDEVDIR@
|
|
udevruledir = ${udevdir}/rules.d
|
|
pkgconfigdir = @pkgconfigdir@
|
|
|
|
# external libs required by various binaries; for btrfs-foo,
|
|
# specify btrfs_foo_libs = <list of libs>; see $($(subst...)) rules in Makefile
|
|
btrfs_convert_libs = @EXT2FS_LIBS@ @COM_ERR_LIBS@ @REISERFS_LIBS@
|
|
|
|
MAKEFILE_INC_INCLUDED = yes
|