diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-03-28 11:04:54 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-03-28 11:04:54 +0000 |
commit | db0990d2f951a3f0794ea5de65b44b3a7ba30b5e (patch) | |
tree | 1314939407f41ffa1d886279355fb5ab587c47f8 /Mk/bsd.port.mk | |
parent | ad80acb5ecc5c84970094ecd4869f55c0fcb6d65 (diff) | |
download | ports-db0990d2f951a3f0794ea5de65b44b3a7ba30b5e.tar.gz ports-db0990d2f951a3f0794ea5de65b44b3a7ba30b5e.zip |
Notes
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r-- | Mk/bsd.port.mk | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 6b7f7c655c3a..0dff6d398f83 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1311,12 +1311,6 @@ WITH_DEBUG= yes .endif .endif -# Reset value from bsd.own.mk. -.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) -STRIP= #none -MAKE_ENV+= DONTSTRIP=yes -.endif - .include "${PORTSDIR}/Mk/bsd.options.mk" # Start of pre-makefile section. @@ -1596,7 +1590,10 @@ CFLAGS:= ${CFLAGS:C/${_CPUCFLAGS}//} .endif .endif +# Reset value from bsd.own.mk. .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) +STRIP= #none +MAKE_ENV+= DONTSTRIP=yes STRIP_CMD= ${TRUE} DEBUG_FLAGS?= -g CFLAGS:= ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} |