mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Base gcc doesn't support -Wno-error-narrowing flag. Add it only when
the compiler used is Clang. PR: 233407 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
dc0da6edaf
commit
392d0620a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486017
@ -14,7 +14,7 @@ COMMENT= Free MPEG1 video player library with sound support
|
||||
LICENSE= LGPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= gmake libtool:build
|
||||
USES= compiler gmake libtool:build
|
||||
USE_SDL= sdl
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
@ -27,7 +27,8 @@ CONFIGURE_ENV= GLBASE="${LOCALBASE}" \
|
||||
CONFIGURE_ARGS= --disable-opengl-player \
|
||||
--disable-gtk-player \
|
||||
--enable-mmx
|
||||
CFLAGS+= -Wno-error-narrowing
|
||||
CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}}
|
||||
CFLAGS_clang= -Wno-error-narrowing
|
||||
LDFLAGS_i386= -Wl,-znotext
|
||||
MAKE_ARGS= LIBTOOL=${LOCALBASE}/bin/libtool
|
||||
INSTALL_TARGET= install-strip
|
||||
|
Loading…
Reference in New Issue
Block a user