mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
790b3108df
Currently, we inhibit various -Wdeprecated-declarations warnings via
"#pragma GCC diagnostic warning". Some older compilers (like gcc 4.1 on
RHEL5) don't understand the pragma, but still need the warning inhibited
in order to build with --enable-checking. So just inhibit this warning
via command-line CFLAGS instead of using #pragma directives.
One source file, tests/auth/superuser-t.c, was inhibiting the
-Wdeprecated-declaractions warning unnecessarily (it has not been needed
since commit 5815a04cf1
(tests: Move token faking code to its own
file)). Just remove the warning inhibition there, instead.
Change-Id: I52b1aeeac8699f9a4820626e9f1349f8cd380585
Reviewed-on: https://gerrit.openafs.org/15777
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
28 lines
821 B
Makefile
28 lines
821 B
Makefile
|
|
srcdir=@srcdir@
|
|
include @TOP_OBJDIR@/src/config/Makefile.config
|
|
include @TOP_OBJDIR@/src/config/Makefile.pthread
|
|
include @TOP_OBJDIR@/src/config/Makefile.libtool
|
|
|
|
MODULE_CFLAGS=-I$(TOP_OBJDIR)
|
|
|
|
LT_objs = config.lo exec.lo files.lo misc.lo network.lo rxkad.lo servers.lo \
|
|
ubik.lo
|
|
LT_libs = $(LIB_rfc3961) $(LIB_roken)
|
|
LT_deps = $(top_builddir)/tests/tap/libafstest_tap.la \
|
|
$(top_builddir)/src/ubik/liboafs_ubik.la \
|
|
$(top_builddir)/src/util/liboafs_util.la
|
|
|
|
all: libafstest_common.la
|
|
|
|
CFLAGS_rxkad.lo = @CFLAGS_NODEPRECATED_DECLARATIONS@
|
|
|
|
# This library is just used internally for our tests, so use
|
|
# LT_LDLIB_shlib_internal so we don't need to manage a .sym export list.
|
|
libafstest_common.la: $(LT_objs) $(LT_deps)
|
|
$(LT_LDLIB_shlib_internal) $(LT_objs) $(LT_deps) $(LT_libs)
|
|
|
|
clean:
|
|
$(LT_CLEAN)
|
|
rm -f *.o
|