The quoted code is not safe at all, so delete the incorrect comment in
the hopes no one notices it and (incorrectly) copies it into a different
ebuild.
# This package uses _init functions to initialise extensions. With
# --as-needed this will not work.
append-ldflags $(no-as-needed)
- # This package correctly aliases pointers, but gcc is unable to know that:
- # unsigned char ip[4];
- # if (*((uint32_t*)ip) == 0) {
- #append-cflags -Wno-strict-aliasing
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
# This package uses _init functions to initialise extensions. With
# --as-needed this will not work.
append-ldflags $(no-as-needed)
- # This package correctly aliases pointers, but gcc is unable to know that:
- # unsigned char ip[4];
- # if (*((uint32_t*)ip) == 0) {
- #append-cflags -Wno-strict-aliasing
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \