Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / pkgtools / pkg_install-info / hacks.mk
bloba473cf45f8efaed5ff6ae1cd0e865204719ec44c
1 # $NetBSD$
3 .if !defined(PKG_INSTALL-INFO_HACKS_MK)
4 PKG_INSTALL-INFO_HACKS_MK= #defined
6 ### [Sat Dec 23 16:09:15 CET 2006: schwarz]
7 ### work around gcc optimization issue (gcc bug report c/14675)
8 ### see http://gcc.gnu.org/ml/gcc-bugs/2004-03/msg02604.html
9 ###
10 . if !empty(PKGSRC_COMPILER:Mgcc*) && !empty(CFLAGS:M-O3)
11 PKG_HACKS+= suppress-Werror
12 BUILDLINK_TRANSFORM+= rm:-Werror
13 . endif
15 .endif