Subject: pkg/30492: no-strict-aliasing in graphics/freetype2
To: None <,,>
From: Martin Husemann <>
List: pkgsrc-bugs
Date: 06/10/2005 13:47:00
>Number:         30492
>Category:       pkg
>Synopsis:       no-strict-aliasing in graphics/freetype2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 10 13:47:00 +0000 2005
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.5
System: NetBSD 3.99.5 NetBSD 3.99.5 (NELLY) #2: Tue Jun 7 12:19:49 CEST 2005 sparc64
Architecture: sparc64
Machine: sparc64
The Makefile in freetype2 has code to add -fno-strict-aliasing to the
CFLAGS and CPPFLAGS. Unfortunately it does not add those to CONFIGURE_ENV
(unless on alpha, for unrelated reasons).

If you build the pkg, you will notice that -fno-strict-aliasing is used
by the pkg itself w/o this pkgsrc help anyway - so I guess this part of
the makefile could just be ripped out.

Code inspection.