--- Makefile.rules.orig 2009-09-28 22:09:25.000000000 +0300 +++ Makefile.rules 2009-11-23 16:15:23.000000000 +0200 @@ -37,11 +37,13 @@ OPTIMIZE?=-O6 +ifneq ($(OSARCH),FreeBSD) ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),) _ASTCFLAGS+=$(OPTIMIZE) else _ASTCFLAGS+=-O0 endif +endif # shortcuts for common combinations of flags; these must be recursively expanded so that # per-target settings will be applied