On 15 Nov 2013, at 14:44, Andriy Gapon wrote:
> I wonder what is the thinking behind CFLAGS cleansing in the following snippet
> from bsd.port.mk:
>
> .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
> STRIP_CMD= ${TRUE}
> DEBUG_FLAGS?= -g
> CFLAGS:=${CFLAGS:N-O*:N-fno-strict*} ${DEB
I wonder what is the thinking behind CFLAGS cleansing in the following snippet
from bsd.port.mk:
.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
STRIP_CMD= ${TRUE}
DEBUG_FLAGS?= -g
CFLAGS:=${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS}
.endif
If I want to control optimization level fo