commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 02/03: Disable strict aliasing optimizations


From: Samuel Thibault
Subject: [hurd] 02/03: Disable strict aliasing optimizations
Date: Tue, 17 Jan 2017 11:19:40 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 7320df6815649ab13a93a1b4d889b1b53bc112d4
Author: Richard Braun <address@hidden>
Date:   Fri Jan 6 20:26:21 2017 +0100

    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(-)

diff --git a/Makeconf b/Makeconf
index 8e24fc4..02594c6 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.

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]