mc/tests/lib/vfs/Makefile.am
Sergei Trofimovich 76c572c676 Ticket #2732: tests/lib/vfs/Makefile.am: drop muldefs from CFLAGS
Otherwise gcc on alpha/arm will break in gcc -c phase:

      CC     config_string.o
    armv5tel-softfloat-linux-gnueabi-gcc <skip>  -z muldefs -c config_string.c
    armv5tel-softfloat-linux-gnueabi-gcc: muldefs: No such file or directory
    make[4]: *** [config_string.o] Error 1

Gentoo-bug: http://bugs.gentoo.org/403343
Reported-by: Markus Meier
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-02-13 16:24:34 +03:00

50 lines
878 B
Makefile

AM_CFLAGS = -I$(top_srcdir)/lib/vfs $(GLIB_CFLAGS) -I$(top_srcdir) @CHECK_CFLAGS@ \
-DTEST_SHARE_DIR=\"$(abs_srcdir)\"
AM_LDFLAGS = -Wl,-z,muldefs
EXTRA_DIST = mc.charsets
LIBS=@CHECK_LIBS@ \
$(top_builddir)/lib/libmc.la
TESTS = \
canonicalize_pathname \
current_dir \
path_recode \
path_serialize \
vfs_parse_ls_lga \
vfs_path_string_convert \
vfs_prefix_to_class \
vfs_split \
vfs_s_get_path
check_PROGRAMS = $(TESTS)
canonicalize_pathname_SOURCES = \
canonicalize_pathname.c
current_dir_SOURCES = \
current_dir.c
path_recode_SOURCES = \
path_recode.c
path_serialize_SOURCES = \
path_serialize.c
vfs_split_SOURCES = \
vfs_split.c
vfs_parse_ls_lga_SOURCES = \
vfs_parse_ls_lga.c
vfs_prefix_to_class_SOURCES = \
vfs_prefix_to_class.c
vfs_path_string_convert_SOURCES = \
vfs_path_string_convert.c
vfs_s_get_path_SOURCES = \
vfs_s_get_path.c