- remove extra -g from CFLAGS

- WITH_DEBUG is handled in Mk/bsd.port.mk

PR:             ports/146863
Submitted by:   Anonymous <swell.k@gmail.com>
Silence from:   stas (maintainer)
This commit is contained in:
Philip M. Gollucci 2010-08-31 03:58:11 +00:00
parent c82fac5486
commit f2a11ee0e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=260253
2 changed files with 2 additions and 11 deletions

View file

@ -83,11 +83,6 @@ PLIST_SUB+= ONIGURUMA=""
PLIST_SUB+= ONIGURUMA="@comment "
.endif
.if defined(WITH_DEBUG)
CFLAGS+= -g
STRIP= # none
.endif
#
# Disable doc generation if requested or docs disabled at all
#

View file

@ -63,11 +63,6 @@ PKGNAMESUFFIX= #empty
CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load
LDFLAGS+= ${PTHREAD_LIBS} # libraries dependent op libpthread.
.if defined(WITH_DEBUG)
CFLAGS+= -g
STRIP= # none
.endif
#
# Disable doc generation if requested or docs disabled at all
#
@ -78,7 +73,8 @@ CONFIGURE_ARGS+= --disable-install-doc
.endif
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
LIBS="${LDFLAGS}"
LIBS="${LDFLAGS}" \
debugflags=
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
MLINKS= ${RUBY_NAME}.1 ruby.1