On Sat, Apr 18 2020, Kurt Mosiejczuk <k...@cranky.work> wrote:
> Build of rgbds-0.4.0 intially failed with 
> 'cc1: error: unrecognized command line option "-std=c11"'
>
> By adding these COMPILER and COMPILER_LANGS lines, the build on sparc64
> was fixed by making the build use ports-gcc instead.
>
> cc maintainer
>
> Comments? ok?

ok jca@

> --Kurt
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/rgbds/Makefile,v
> retrieving revision 1.6
> diff -u -p -r1.6 Makefile
> --- Makefile  12 Apr 2020 04:24:56 -0000      1.6
> +++ Makefile  17 Apr 2020 18:57:31 -0000
> @@ -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}" \
>


-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to