mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- 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:
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
|
@ -83,11 +83,6 @@ PLIST_SUB+= ONIGURUMA=""
|
||||||
PLIST_SUB+= ONIGURUMA="@comment "
|
PLIST_SUB+= ONIGURUMA="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_DEBUG)
|
|
||||||
CFLAGS+= -g
|
|
||||||
STRIP= # none
|
|
||||||
.endif
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Disable doc generation if requested or docs disabled at all
|
# Disable doc generation if requested or docs disabled at all
|
||||||
#
|
#
|
||||||
|
|
|
@ -63,11 +63,6 @@ PKGNAMESUFFIX= #empty
|
||||||
CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load
|
CFLAGS+= ${PTHREAD_CFLAGS} # Keep this, else ruby will fail to load
|
||||||
LDFLAGS+= ${PTHREAD_LIBS} # libraries dependent op libpthread.
|
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
|
# Disable doc generation if requested or docs disabled at all
|
||||||
#
|
#
|
||||||
|
@ -78,7 +73,8 @@ CONFIGURE_ARGS+= --disable-install-doc
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
|
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
|
||||||
LIBS="${LDFLAGS}"
|
LIBS="${LDFLAGS}" \
|
||||||
|
debugflags=
|
||||||
|
|
||||||
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
|
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER}
|
||||||
MLINKS= ${RUBY_NAME}.1 ruby.1
|
MLINKS= ${RUBY_NAME}.1 ruby.1
|
||||||
|
|
Loading…
Add table
Reference in a new issue