[Cryptech-Commits] [sw/libhal] branch master updated: hash.c triggers gcc's strict-aliasing warnings.

git at cryptech.is git at cryptech.is
Thu Jun 9 04:31:57 UTC 2016


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository sw/libhal.

The following commit(s) were added to refs/heads/master by this push:
       new  a627a48   hash.c triggers gcc's strict-aliasing warnings.
a627a48 is described below

commit a627a489e48cde75f80446e75d057fc1f12a0b98
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Thu Jun 9 00:30:17 2016 -0400

    hash.c triggers gcc's strict-aliasing warnings.
---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 0b3647b..c37d142 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -164,7 +164,7 @@ CFLAGS		+= -DRPC_CLIENT=${RPC_CLIENT_FLAG}
 endif
 
 TFMDIR		:= $(abspath ../thirdparty/libtfm)
-CFLAGS		+= -g3 -Wall -std=c99 -I${TFMDIR}
+CFLAGS		+= -g3 -Wall -std=c99 -Wno-strict-aliasing -I${TFMDIR}
 LDFLAGS		:= -g3 -L${TFMDIR} -ltfm
 
 CFLAGS		+= -DHAL_STATIC_HASH_STATE_BLOCKS=${STATIC_HASH_STATE_BLOCKS}

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list