From 7320df6815649ab13a93a1b4d889b1b53bc112d4 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Fri, 6 Jan 2017 20:26:21 +0100 Subject: Disable strict aliasing optimizations The code base largely predates strict aliasing rules, and lots of potential violations can be found. Makeconf (CFLAGS): Add -fno-strict-aliasing option. --- Makeconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index 8e24fc44..02594c64 100644 --- a/Makeconf +++ b/Makeconf @@ -79,7 +79,7 @@ CPPFLAGS += $(INCLUDES) \ -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ $($*-CPPFLAGS) CFLAGS += -std=gnu99 $(gnu89-inline-CFLAGS) -Wall -g -O3 \ - $($*-CFLAGS) + -fno-strict-aliasing $($*-CFLAGS) # Include the configure-generated file of parameters. # This sets up variables for build tools and installation directories. -- cgit v1.2.3