Fix the build for sparc64 (and other base-gcc arches) by adding

a COMPILERS line with ports-gcc. Otherwise the build fails with
'cc1: error: unrecognized command line option "-std=c11"'

"I have no objection" bentley@ (maintainer)

ok jca@
This commit is contained in:
kmos 2020-04-22 17:50:15 +00:00
parent c02ea3079b
commit 5f3161ff1e

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2020/04/12 04:24:56 bentley Exp $
# $OpenBSD: Makefile,v 1.7 2020/04/22 17:50:15 kmos Exp $
FIX_EXTRACT_PERMISSIONS = Yes
@ -21,6 +21,9 @@ WANTLIB += c m png z
MASTER_SITES = https://github.com/rednex/rgbds/releases/download/v$V/
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
LIB_DEPENDS = graphics/png
MAKE_FLAGS = CFLAGS="${CFLAGS}" \