From 4e4801972798645ffd042b195cb4d489054b4990 Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Tue, 11 Sep 2012 16:39:55 -0400 Subject: [PATCH] tptserver: Disable strict-aliasing warnings Disable the strict-aliasing warnings for a few files that have supergroups related code. This was already done in ptserver but not in tptserver. Change-Id: I8b3c8b5f5b19fd47fed949e7b2568678a5ffffd4 Reviewed-on: http://gerrit.openafs.org/8096 Tested-by: Simon Wilkinson Reviewed-by: Derrick Brashear --- src/tptserver/Makefile.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/tptserver/Makefile.in b/src/tptserver/Makefile.in index 379dc61d3..a2f38c526 100644 --- a/src/tptserver/Makefile.in +++ b/src/tptserver/Makefile.in @@ -105,11 +105,13 @@ pthread_glock.o: ${UTIL}/pthread_glock.c ptserver.o: ${PTSERVER}/ptserver.c ${INCLS} ${CCRULE} ${srcdir}/${PTSERVER}/ptserver.c +# When supergroups is enabled, some parts of ptserver cast between +# # incompatible structs. ptutils.o: ${PTSERVER}/ptutils.c ${INCLS} - ${CCRULE} ${srcdir}/${PTSERVER}/ptutils.c + ${CCRULE} @CFLAGS_NOSTRICT@ ${srcdir}/${PTSERVER}/ptutils.c ptprocs.o: ${PTSERVER}/ptprocs.c ${INCLS} - ${CCRULE} ${srcdir}/${PTSERVER}/ptprocs.c + ${CCRULE} @CFLAGS_NOSTRICT@ ${srcdir}/${PTSERVER}/ptprocs.c utils.o: ${PTSERVER}/utils.c ${INCLS} ${CCRULE} ${srcdir}/${PTSERVER}/utils.c -- 2.39.5