libxine only builds with -O1 or higher, add a check to avoid more people
wondering about obscure build failures otherwise. PR: ports/162037 [1] (related to) Submitted by: Ilya Ermolin <ermolinis@gmail.com> [1]
This commit is contained in:
parent
17318c886c
commit
8c288a0639
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284666
@ -102,6 +102,11 @@ PATCH_DIST_ARGS= -d ${WRKSRC} -p1 --forward --quiet
|
||||
DEBUG_FLAGS= -g -O1
|
||||
.endif
|
||||
|
||||
# Check for forced -O0 (or no -O)
|
||||
.if ${CFLAGS:M-O0} == "-O0" || (${CFLAGS:M-O} == "" && ${CFLAGS:M-O[1-9]} == "")
|
||||
IGNORE= only builds with -O1 or higher, check CFLAGS
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_NLS)
|
||||
USE_GETTEXT= yes
|
||||
PLIST_SUB+= NLS=""
|
||||
|
Loading…
Reference in New Issue
Block a user