mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
-Wno-narrowing is supported by Clang. Make unconditional and add a
comment why it's necessary. PR: 232826 Submitted by: Piotr Kubaj Reported by: jbeich Approved by: portmgr (tier-2 blanket)
This commit is contained in:
parent
1760f0a95c
commit
37da4b24f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486168
@ -28,12 +28,8 @@ USES= alias cmake:outsource compiler:c++11-lang jpeg pkgconfig
|
||||
USE_GL= gl glu
|
||||
USE_XORG= x11
|
||||
USE_LDCONFIG= yes
|
||||
CXXFLAGS_mips= -Wno-narrowing
|
||||
CXXFLAGS_mips64= -Wno-narrowing
|
||||
CXXFLAGS_powerpc64= -Wno-narrowing
|
||||
CXXFLAGS_powerpc= -Wno-narrowing
|
||||
CXXFLAGS_powerpcspe= -Wno-narrowing
|
||||
CXXFLAGS_sparc64= -Wno-narrowing
|
||||
# needed to ensure build on gcc-based archs; harmless otherwise
|
||||
CXXFLAGS+= -Wno-narrowing
|
||||
|
||||
PLIST_SUB= OSG_VERSION=${PORTVERSION} \
|
||||
OSG_SHLIBVER=131 \
|
||||
|
Loading…
Reference in New Issue
Block a user