Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2019 00:04:06 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][emulators/mgba] Failed for mgba-0.7.0 in build/runaway
Message-ID:  <201903090004.x29046pY063651@beefy16.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     greg@unrelenting.technology
Last committer: jbeich@FreeBSD.org
Ident:          $FreeBSD: head/emulators/mgba/Makefile 491528 2019-01-29 00:46:50Z jbeich $
Log URL:        http://beefy16.nyi.freebsd.org/data/head-armv7-default/p494664_s344784/logs/mgba-0.7.0.log
Build URL:      http://beefy16.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p494664_s344784
Log:

=>> Building emulators/mgba
build started at Fri Mar  8 17:25:52 UTC 2019
port directory: /usr/ports/emulators/mgba
package name: mgba-0.7.0
building for: FreeBSD head-armv7-default-job-01 13.0-CURRENT FreeBSD 13.0-CURRENT 1300014 arm
maintained by: greg@unrelenting.technology
Makefile ident:      $FreeBSD: head/emulators/mgba/Makefile 491528 2019-01-29 00:46:50Z jbeich $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300009
Jail OSVERSION: 1300014
Job Id: 01




!!! Jail is newer than host. (Jail: 1300014, Host: 1300009) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300014
UNAME_v=FreeBSD 13.0-CURRENT 1300014
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for mgba-0.7.0:
     DEBUGGERS=on: Debugging infrastructure (CLI debugger, GDB remote stub)
     DOCS=on: Build and/or install documentation
     FFMPEG=on: FFmpeg video recording support
     LIBRETRO=on: libretro core
     MAGICK=on: ImageMagick GIF recording support
     QT5=on: Qt 5 frontend
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
greg@unrelenting.technology
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mgba/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mgba/work  HOME=/wrkdirs/usr/ports/emulators/mgba/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mgba/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mgba/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mgba/work  HOME=/wrkdirs/usr/ports/emulators/mgba/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mgba/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/emulators/mgba/work/stage LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -Wl,--as-needed -L/usr/local/lib " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/i
 nclude "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" DEBUGGERS="" NO_DEBUGGERS="@comment " DOCS="" NO_DOCS="@comment " FFMPEG="" NO_FFMPEG="@comment " LIBRETRO="" NO_LIBRETRO="@comment " MAGICK="" NO_MAGICK="@comment " QT5="" NO_QT5="@comment " CMAKE_BUILD_TYPE="release" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" QT_BINDIR="lib/qt5/bin" QT_INCDIR="include/qt5" QT_LIBDIR="lib/qt5" QT_ARCHDIR="lib/qt5" QT_PLUGINDIR="lib/qt5/plugins" QT_LIBEXECDIR="libexec/qt5" QT_IMPORTDIR="lib/qt5/imports" QT_QMLDIR="lib/qt5/qml" QT_DATADIR="share/qt5" QT_DOCDIR="share/doc/qt5" QT_L10NDIR="share/qt5/translations" QT_EXAMPLEDIR="share/examples/qt5" QT_TESTDIR="share/qt5/tests" QT_MKSPECDIR="lib/qt5/mkspecs" QT_QTCHOOSERDIR="etc/xdg/qtchooser" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mgba"  EXAMPLESDIR="share/examples/mgba"  DATADIR="share/mgba"  WWWDIR="www/mgba"  ETCDIR="etc/mgba"
--End PLIST_SUB--

--SUB_LIST--
DEBUGGERS="" NO_DEBUGGERS="@comment " DOCS="" NO_DOCS="@comment " FFMPEG="" NO_FFMPEG="@comment " LIBRETRO="" NO_LIBRETRO="@comment " MAGICK="" NO_MAGICK="@comment " QT5="" NO_QT5="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mgba DOCSDIR=/usr/local/share/doc/mgba EXAMPLESDIR=/usr/local/share/examples/mgba  WWWDIR=/usr/local/www/mgba ETCDIR=/usr/local/etc/mgba
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 8.0.0 (branches/release_80 355313) (based on LLVM 8.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.0 (branches/release_80 355313) (based on LLVM 8.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 8.0.0 (branches/release_80 355313) (based on LLVM 8.0.0) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300014
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MPL20 BSD3CLAUSE LGPL21+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mgba-0.7.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-armv7-default-job-01] Installing pkg-1.10.5_5...
<snip>
[111/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/mem-search.c.o -MF CMakeFiles/mgba.dir/src/core/mem-search.c.o.d -o CMakeFiles/mgba.dir/src/core/mem-search.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/mem-search.c
[112/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/rewind.c.o -MF CMakeFiles/mgba.dir/src/core/rewind.c.o.d -o CMakeFiles/mgba.dir/src/core/rewind.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/rewind.c
[113/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/scripting.c.o -MF CMakeFiles/mgba.dir/src/core/scripting.c.o.d -o CMakeFiles/mgba.dir/src/core/scripting.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/scripting.c
[114/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/serialize.c.o -MF CMakeFiles/mgba.dir/src/core/serialize.c.o.d -o CMakeFiles/mgba.dir/src/core/serialize.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/serialize.c
[115/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/sync.c.o -MF CMakeFiles/mgba.dir/src/core/sync.c.o.d -o CMakeFiles/mgba.dir/src/core/sync.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/sync.c
[116/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/thread.c.o -MF CMakeFiles/mgba.dir/src/core/thread.c.o.d -o CMakeFiles/mgba.dir/src/core/thread.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/thread.c
[117/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/tile-cache.c.o -MF CMakeFiles/mgba.dir/src/core/tile-cache.c.o.d -o CMakeFiles/mgba.dir/src/core/tile-cache.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/tile-cache.c
[118/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/core/timing.c.o -MF CMakeFiles/mgba.dir/src/core/timing.c.o.d -o CMakeFiles/mgba.dir/src/core/timing.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/timing.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/core/timing.c:16:36: warning: unused parameter 'timing' [-Wunused-parameter]
void mTimingDeinit(struct mTiming* timing) {
                                   ^
1 warning generated.
[119/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/decoder.c.o -MF CMakeFiles/mgba.dir/src/lr35902/decoder.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/decoder.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/decoder.c
[120/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o -MF CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/isa-lr35902.c
[121/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o -MF CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/lr35902.c
[122/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/audio.c.o -MF CMakeFiles/mgba.dir/src/gb/audio.c.o.d -o CMakeFiles/mgba.dir/src/gb/audio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/audio.c
[123/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/cheats.c.o -MF CMakeFiles/mgba.dir/src/gb/cheats.c.o.d -o CMakeFiles/mgba.dir/src/gb/cheats.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/cheats.c
[124/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/core.c.o -MF CMakeFiles/mgba.dir/src/gb/core.c.o.d -o CMakeFiles/mgba.dir/src/gb/core.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/core.c
[125/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/gb.c.o -MF CMakeFiles/mgba.dir/src/gb/gb.c.o.d -o CMakeFiles/mgba.dir/src/gb/gb.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/gb.c
[126/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/io.c.o -MF CMakeFiles/mgba.dir/src/gb/io.c.o.d -o CMakeFiles/mgba.dir/src/gb/io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/io.c
[127/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/mbc.c.o -MF CMakeFiles/mgba.dir/src/gb/mbc.c.o.d -o CMakeFiles/mgba.dir/src/gb/mbc.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/mbc.c
[128/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/memory.c.o -MF CMakeFiles/mgba.dir/src/gb/memory.c.o.d -o CMakeFiles/mgba.dir/src/gb/memory.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/memory.c
[129/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/overrides.c.o -MF CMakeFiles/mgba.dir/src/gb/overrides.c.o.d -o CMakeFiles/mgba.dir/src/gb/overrides.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/overrides.c
[130/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/serialize.c.o -MF CMakeFiles/mgba.dir/src/gb/serialize.c.o.d -o CMakeFiles/mgba.dir/src/gb/serialize.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/serialize.c
[131/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/sio.c.o -MF CMakeFiles/mgba.dir/src/gb/sio.c.o.d -o CMakeFiles/mgba.dir/src/gb/sio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/sio.c
[132/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/timer.c.o -MF CMakeFiles/mgba.dir/src/gb/timer.c.o.d -o CMakeFiles/mgba.dir/src/gb/timer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/timer.c
[133/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/video.c.o -MF CMakeFiles/mgba.dir/src/gb/video.c.o.d -o CMakeFiles/mgba.dir/src/gb/video.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/video.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/video.c:190:46: warning: unused parameter 'video' [-Wunused-parameter]
static bool _statIRQAsserted(struct GBVideo* video, GBRegisterSTAT stat) {
                                             ^
1 warning generated.
[134/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o -MF CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o.d -o CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/renderers/cache-set.c
[135/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/renderers/software.c.o -MF CMakeFiles/mgba.dir/src/gb/renderers/software.c.o.d -o CMakeFiles/mgba.dir/src/gb/renderers/software.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/renderers/software.c
[136/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/arm.c.o -MF CMakeFiles/mgba.dir/src/arm/arm.c.o.d -o CMakeFiles/mgba.dir/src/arm/arm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/arm.c
[137/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o -MF CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o.d -o CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/decoder-arm.c
[138/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o -MF CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o.d -o CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/decoder-thumb.c
[139/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/decoder.c.o -MF CMakeFiles/mgba.dir/src/arm/decoder.c.o.d -o CMakeFiles/mgba.dir/src/arm/decoder.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/decoder.c
[140/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/isa-arm.c.o -MF CMakeFiles/mgba.dir/src/arm/isa-arm.c.o.d -o CMakeFiles/mgba.dir/src/arm/isa-arm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/isa-arm.c
[141/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o -MF CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o.d -o CMakeFiles/mgba.dir/src/arm/isa-thumb.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/isa-thumb.c
[142/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/audio.c.o -MF CMakeFiles/mgba.dir/src/gba/audio.c.o.d -o CMakeFiles/mgba.dir/src/gba/audio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/audio.c
[143/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/bios.c.o -MF CMakeFiles/mgba.dir/src/gba/bios.c.o.d -o CMakeFiles/mgba.dir/src/gba/bios.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/bios.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/bios.c:71:48: warning: implicit conversion from 'int' to 'int16_t' (aka 'short') changes value from 32768 to -32768 [-Wconstant-conversion]
                cpu->memory.store16(cpu, BASE_IO | REG_RCNT, RCNT_INITIAL, 0);
                ~~~                                          ^~~~~~~~~~~~
1 warning generated.
[144/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats.c
[145/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/core.c.o -MF CMakeFiles/mgba.dir/src/gba/core.c.o.d -o CMakeFiles/mgba.dir/src/gba/core.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/core.c
[146/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/dma.c.o -MF CMakeFiles/mgba.dir/src/gba/dma.c.o.d -o CMakeFiles/mgba.dir/src/gba/dma.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/dma.c
[147/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/gba.c.o -MF CMakeFiles/mgba.dir/src/gba/gba.c.o.d -o CMakeFiles/mgba.dir/src/gba/gba.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/gba.c
[148/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/hardware.c.o -MF CMakeFiles/mgba.dir/src/gba/hardware.c.o.d -o CMakeFiles/mgba.dir/src/gba/hardware.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/hardware.c
[149/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/hle-bios.c.o -MF CMakeFiles/mgba.dir/src/gba/hle-bios.c.o.d -o CMakeFiles/mgba.dir/src/gba/hle-bios.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/hle-bios.c
[150/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/input.c.o -MF CMakeFiles/mgba.dir/src/gba/input.c.o.d -o CMakeFiles/mgba.dir/src/gba/input.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/input.c
[151/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/io.c.o -MF CMakeFiles/mgba.dir/src/gba/io.c.o.d -o CMakeFiles/mgba.dir/src/gba/io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/io.c
[152/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/matrix.c.o -MF CMakeFiles/mgba.dir/src/gba/matrix.c.o.d -o CMakeFiles/mgba.dir/src/gba/matrix.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/matrix.c
[153/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/memory.c.o -MF CMakeFiles/mgba.dir/src/gba/memory.c.o.d -o CMakeFiles/mgba.dir/src/gba/memory.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/memory.c
[154/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/overrides.c.o -MF CMakeFiles/mgba.dir/src/gba/overrides.c.o.d -o CMakeFiles/mgba.dir/src/gba/overrides.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/overrides.c
[155/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/savedata.c.o -MF CMakeFiles/mgba.dir/src/gba/savedata.c.o.d -o CMakeFiles/mgba.dir/src/gba/savedata.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/savedata.c
[156/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/serialize.c.o -MF CMakeFiles/mgba.dir/src/gba/serialize.c.o.d -o CMakeFiles/mgba.dir/src/gba/serialize.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/serialize.c
[157/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/sharkport.c.o -MF CMakeFiles/mgba.dir/src/gba/sharkport.c.o.d -o CMakeFiles/mgba.dir/src/gba/sharkport.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:167:44: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
        if (vf->write(vf, SHARKPORT_HEADER, size) < size) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:191:40: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'unsigned int' [-Wsign-compare]
        if (vf->write(vf, buffer.c, size + 4) < size + 4) {
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sharkport.c:243:60: warning: comparison of integers of different signs: 'ssize_t' (aka 'int') and 'uint32_t' (aka 'unsigned int') [-Wsign-compare]
        } else if (vf->write(vf, gba->memory.savedata.data, size) < size) {
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~
3 warnings generated.
[158/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/sio.c.o -MF CMakeFiles/mgba.dir/src/gba/sio.c.o.d -o CMakeFiles/mgba.dir/src/gba/sio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sio.c
[159/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/timer.c.o -MF CMakeFiles/mgba.dir/src/gba/timer.c.o.d -o CMakeFiles/mgba.dir/src/gba/timer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/timer.c
[160/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/vfame.c.o -MF CMakeFiles/mgba.dir/src/gba/vfame.c.o.d -o CMakeFiles/mgba.dir/src/gba/vfame.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/vfame.c
[161/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/video.c.o -MF CMakeFiles/mgba.dir/src/gba/video.c.o.d -o CMakeFiles/mgba.dir/src/gba/video.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/video.c
[162/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/codebreaker.c
[163/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/gameshark.c
[164/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o -MF CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o.d -o CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/cheats/parv3.c
[165/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/cache-set.c
[166/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/software-bg.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-bg.c
[167/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-mode0.c
[168/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/software-obj.c
[169/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o -MF CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o.d -o CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/renderers/video-software.c
[170/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/circle-buffer.c.o -MF CMakeFiles/mgba.dir/src/util/circle-buffer.c.o.d -o CMakeFiles/mgba.dir/src/util/circle-buffer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/circle-buffer.c
[171/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/configuration.c.o -MF CMakeFiles/mgba.dir/src/util/configuration.c.o.d -o CMakeFiles/mgba.dir/src/util/configuration.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/configuration.c
[172/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/crc32.c.o -MF CMakeFiles/mgba.dir/src/util/crc32.c.o.d -o CMakeFiles/mgba.dir/src/util/crc32.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/crc32.c
[173/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/elf-read.c.o -MF CMakeFiles/mgba.dir/src/util/elf-read.c.o.d -o CMakeFiles/mgba.dir/src/util/elf-read.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/elf-read.c
[174/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/export.c.o -MF CMakeFiles/mgba.dir/src/util/export.c.o.d -o CMakeFiles/mgba.dir/src/util/export.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/export.c
[175/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/formatting.c.o -MF CMakeFiles/mgba.dir/src/util/formatting.c.o.d -o CMakeFiles/mgba.dir/src/util/formatting.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/formatting.c
[176/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/gui.c.o -MF CMakeFiles/mgba.dir/src/util/gui.c.o.d -o CMakeFiles/mgba.dir/src/util/gui.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/gui.c
[177/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/hash.c.o -MF CMakeFiles/mgba.dir/src/util/hash.c.o.d -o CMakeFiles/mgba.dir/src/util/hash.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/hash.c
[178/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch-fast.c.o -MF CMakeFiles/mgba.dir/src/util/patch-fast.c.o.d -o CMakeFiles/mgba.dir/src/util/patch-fast.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-fast.c
[179/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch-ips.c.o -MF CMakeFiles/mgba.dir/src/util/patch-ips.c.o.d -o CMakeFiles/mgba.dir/src/util/patch-ips.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-ips.c
[180/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch-ups.c.o -MF CMakeFiles/mgba.dir/src/util/patch-ups.c.o.d -o CMakeFiles/mgba.dir/src/util/patch-ups.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch-ups.c
[181/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/patch.c.o -MF CMakeFiles/mgba.dir/src/util/patch.c.o.d -o CMakeFiles/mgba.dir/src/util/patch.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/patch.c
[182/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/png-io.c.o -MF CMakeFiles/mgba.dir/src/util/png-io.c.o.d -o CMakeFiles/mgba.dir/src/util/png-io.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/png-io.c
[183/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/ring-fifo.c.o -MF CMakeFiles/mgba.dir/src/util/ring-fifo.c.o.d -o CMakeFiles/mgba.dir/src/util/ring-fifo.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/ring-fifo.c
[184/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/string.c.o -MF CMakeFiles/mgba.dir/src/util/string.c.o.d -o CMakeFiles/mgba.dir/src/util/string.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/string.c
[185/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/table.c.o -MF CMakeFiles/mgba.dir/src/util/table.c.o.d -o CMakeFiles/mgba.dir/src/util/table.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/table.c
[186/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/text-codec.c.o -MF CMakeFiles/mgba.dir/src/util/text-codec.c.o.d -o CMakeFiles/mgba.dir/src/util/text-codec.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/text-codec.c
[187/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs.c.o -MF CMakeFiles/mgba.dir/src/util/vfs.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs.c
[188/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/version.c.o -MF CMakeFiles/mgba.dir/version.c.o.d -o CMakeFiles/mgba.dir/version.c.o   -c version.c
[189/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-mem.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-mem.c
[190/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-fifo.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-fifo.c
[191/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-fd.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-fd.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-fd.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-fd.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-fd.c:175:16: warning: passing 'const void *' to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                return msync(buffer, size, MS_SYNC) == 0;
                             ^~~~~~
/usr/include/sys/mman.h:266:17: note: passing argument to parameter here
int     msync(void *, size_t, int);
                    ^
1 warning generated.
[192/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-dirent.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-dirent.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-dirent.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-dirent.c
[193/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/platform/posix/memory.c.o -MF CMakeFiles/mgba.dir/src/platform/posix/memory.c.o.d -o CMakeFiles/mgba.dir/src/platform/posix/memory.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/posix/memory.c
[194/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/inih/ini.c.o -MF CMakeFiles/mgba.dir/src/third-party/inih/ini.c.o.d -o CMakeFiles/mgba.dir/src/third-party/inih/ini.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/inih/ini.c
[195/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/blip_buf/blip_buf.c.o -MF CMakeFiles/mgba.dir/src/third-party/blip_buf/blip_buf.c.o.d -o CMakeFiles/mgba.dir/src/third-party/blip_buf/blip_buf.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/blip_buf/blip_buf.c
[196/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-zip.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-zip.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-zip.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-zip.c
[197/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -Wno-unused-parameter -Wno-implicit-function-declaration -MD -MT CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/ioapi.c.o -MF CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/ioapi.c.o.d -o CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/ioapi.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/zlib/contrib/minizip/ioapi.c
[198/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -Wno-unused-parameter -Wno-implicit-function-declaration -MD -MT CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/unzip.c.o -MF CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/unzip.c.o.d -o CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/unzip.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/zlib/contrib/minizip/unzip.c
[199/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/util/vfs/vfs-lzma.c.o -MF CMakeFiles/mgba.dir/src/util/vfs/vfs-lzma.c.o.d -o CMakeFiles/mgba.dir/src/util/vfs/vfs-lzma.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/util/vfs/vfs-lzma.c
[200/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zAlloc.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zAlloc.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zAlloc.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zAlloc.c
[201/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zArcIn.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zArcIn.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zArcIn.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zArcIn.c
[202/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zBuf.c
[203/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf2.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf2.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf2.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zBuf2.c
[204/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zCrc.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zCrc.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zCrc.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zCrc.c
[205/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zCrcOpt.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zCrcOpt.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zCrcOpt.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zCrcOpt.c
[206/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zDec.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zDec.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zDec.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zDec.c
[207/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/CpuArch.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/CpuArch.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/CpuArch.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/CpuArch.c
[208/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/Delta.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/Delta.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/Delta.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/Delta.c
[209/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/LzmaDec.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/LzmaDec.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/LzmaDec.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/LzmaDec.c
[210/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/Lzma2Dec.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/Lzma2Dec.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/Lzma2Dec.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/Lzma2Dec.c
[211/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/Bra.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/Bra.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/Bra.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/Bra.c
[212/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/Bra86.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/Bra86.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/Bra86.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/Bra86.c
[213/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/BraIA64.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/BraIA64.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/BraIA64.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/BraIA64.c
[214/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/Bcj2.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/Bcj2.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/Bcj2.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/Bcj2.c
[215/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/Ppmd7.c
[216/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7Dec.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7Dec.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7Dec.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/Ppmd7Dec.c
[217/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zFile.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zFile.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zFile.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zFile.c
[218/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/third-party/lzma/7zStream.c.o -MF CMakeFiles/mgba.dir/src/third-party/lzma/7zStream.c.o.d -o CMakeFiles/mgba.dir/src/third-party/lzma/7zStream.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma/7zStream.c
[219/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/sio/joybus.c.o -MF CMakeFiles/mgba.dir/src/gba/sio/joybus.c.o.d -o CMakeFiles/mgba.dir/src/gba/sio/joybus.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sio/joybus.c
[220/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/sio/lockstep.c.o -MF CMakeFiles/mgba.dir/src/gba/sio/lockstep.c.o.d -o CMakeFiles/mgba.dir/src/gba/sio/lockstep.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/sio/lockstep.c
[221/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/sio/lockstep.c.o -MF CMakeFiles/mgba.dir/src/gb/sio/lockstep.c.o.d -o CMakeFiles/mgba.dir/src/gb/sio/lockstep.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/sio/lockstep.c
[222/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/sio/printer.c.o -MF CMakeFiles/mgba.dir/src/gb/sio/printer.c.o.d -o CMakeFiles/mgba.dir/src/gb/sio/printer.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/sio/printer.c
[223/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/feature/editline/cli-el-backend.c.o -MF CMakeFiles/mgba.dir/src/feature/editline/cli-el-backend.c.o.d -o CMakeFiles/mgba.dir/src/feature/editline/cli-el-backend.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/editline/cli-el-backend.c
[224/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/debugger/gdb-stub.c.o -MF CMakeFiles/mgba.dir/src/debugger/gdb-stub.c.o.d -o CMakeFiles/mgba.dir/src/debugger/gdb-stub.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/debugger/gdb-stub.c
[225/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-encoder.c.o -MF CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-encoder.c.o.d -o CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-encoder.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/ffmpeg/ffmpeg-encoder.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/ffmpeg/ffmpeg-encoder.c:38:2: warning: 'av_register_all' is deprecated [-Wdeprecated-declarations]
        av_register_all();
        ^
/usr/local/include/libavformat/avformat.h:2042:1: note: 'av_register_all' has been explicitly marked deprecated here
attribute_deprecated
^
/usr/local/include/libavutil/attributes.h:94:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
                                                ^
1 warning generated.
[226/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/feature/imagemagick/imagemagick-gif-encoder.c.o -MF CMakeFiles/mgba.dir/src/feature/imagemagick/imagemagick-gif-encoder.c.o.d -o CMakeFiles/mgba.dir/src/feature/imagemagick/imagemagick-gif-encoder.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/imagemagick/imagemagick-gif-encoder.c
[227/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/feature/sqlite3/no-intro.c.o -MF CMakeFiles/mgba.dir/src/feature/sqlite3/no-intro.c.o.d -o CMakeFiles/mgba.dir/src/feature/sqlite3/no-intro.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/sqlite3/no-intro.c
[228/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/debugger/debugger.c.o -MF CMakeFiles/mgba.dir/src/debugger/debugger.c.o.d -o CMakeFiles/mgba.dir/src/debugger/debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/debugger/debugger.c
[229/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/debugger/parser.c.o -MF CMakeFiles/mgba.dir/src/debugger/parser.c.o.d -o CMakeFiles/mgba.dir/src/debugger/parser.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/debugger/parser.c
[230/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/debugger/symbols.c.o -MF CMakeFiles/mgba.dir/src/debugger/symbols.c.o.d -o CMakeFiles/mgba.dir/src/debugger/symbols.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/debugger/symbols.c
[231/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/debugger/cli-debugger.c.o -MF CMakeFiles/mgba.dir/src/debugger/cli-debugger.c.o.d -o CMakeFiles/mgba.dir/src/debugger/cli-debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/debugger/cli-debugger.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/debugger/cli-debugger.c:929:83: warning: unused parameter 'initial' [-Wunused-parameter]
bool CLIDebuggerTabComplete(struct CLIDebugger* debugger, const char* token, bool initial, size_t tokenLen) {
                                                                                  ^
1 warning generated.
[232/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/debugger/cli-debugger.c.o -MF CMakeFiles/mgba.dir/src/lr35902/debugger/cli-debugger.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/debugger/cli-debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/debugger/cli-debugger.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/debugger/cli-debugger.c:60:40: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        struct LR35902InstructionInfo info = {0};
                                              ^
                                              {}
1 warning generated.
[233/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/debugger/debugger.c.o -MF CMakeFiles/mgba.dir/src/lr35902/debugger/debugger.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/debugger/debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/debugger/debugger.c
[234/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/lr35902/debugger/memory-debugger.c.o -MF CMakeFiles/mgba.dir/src/lr35902/debugger/memory-debugger.c.o.d -o CMakeFiles/mgba.dir/src/lr35902/debugger/memory-debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/lr35902/debugger/memory-debugger.c
[235/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/debugger/cli.c.o -MF CMakeFiles/mgba.dir/src/gb/debugger/cli.c.o.d -o CMakeFiles/mgba.dir/src/gb/debugger/cli.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/debugger/cli.c
[236/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/debugger/symbols.c.o -MF CMakeFiles/mgba.dir/src/gb/debugger/symbols.c.o.d -o CMakeFiles/mgba.dir/src/gb/debugger/symbols.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/debugger/symbols.c
[237/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/debugger/cli-debugger.c.o -MF CMakeFiles/mgba.dir/src/arm/debugger/cli-debugger.c.o.d -o CMakeFiles/mgba.dir/src/arm/debugger/cli-debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/debugger/cli-debugger.c
[238/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/debugger/debugger.c.o -MF CMakeFiles/mgba.dir/src/arm/debugger/debugger.c.o.d -o CMakeFiles/mgba.dir/src/arm/debugger/debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/debugger/debugger.c
[239/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/arm/debugger/memory-debugger.c.o -MF CMakeFiles/mgba.dir/src/arm/debugger/memory-debugger.c.o.d -o CMakeFiles/mgba.dir/src/arm/debugger/memory-debugger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/arm/debugger/memory-debugger.c
[240/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/debugger/cli.c.o -MF CMakeFiles/mgba.dir/src/gba/debugger/cli.c.o.d -o CMakeFiles/mgba.dir/src/gba/debugger/cli.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/debugger/cli.c
[241/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/rr/mgm.c.o -MF CMakeFiles/mgba.dir/src/gba/rr/mgm.c.o.d -o CMakeFiles/mgba.dir/src/gba/rr/mgm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/rr/mgm.c
[242/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/rr/rr.c.o -MF CMakeFiles/mgba.dir/src/gba/rr/rr.c.o.d -o CMakeFiles/mgba.dir/src/gba/rr/rr.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/rr/rr.c
[243/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/rr/vbm.c.o -MF CMakeFiles/mgba.dir/src/gba/rr/vbm.c.o.d -o CMakeFiles/mgba.dir/src/gba/rr/vbm.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/rr/vbm.c
[244/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gba/extra/proxy.c.o -MF CMakeFiles/mgba.dir/src/gba/extra/proxy.c.o.d -o CMakeFiles/mgba.dir/src/gba/extra/proxy.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gba/extra/proxy.c
[245/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/gb/extra/proxy.c.o -MF CMakeFiles/mgba.dir/src/gb/extra/proxy.c.o.d -o CMakeFiles/mgba.dir/src/gb/extra/proxy.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/extra/proxy.c
/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/gb/extra/proxy.c:67:77: warning: unused parameter 'model' [-Wunused-parameter]
static void _reset(struct GBVideoProxyRenderer* proxyRenderer, enum GBModel model) {
                                                                            ^
1 warning generated.
[246/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/feature/commandline.c.o -MF CMakeFiles/mgba.dir/src/feature/commandline.c.o.d -o CMakeFiles/mgba.dir/src/feature/commandline.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/commandline.c
[247/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/feature/thread-proxy.c.o -MF CMakeFiles/mgba.dir/src/feature/thread-proxy.c.o.d -o CMakeFiles/mgba.dir/src/feature/thread-proxy.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/thread-proxy.c
[248/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -Dmgba_EXPORTS -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -fPIC   -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKC
 ORE_QUANTUM_DEPTH=16 -MD -MT CMakeFiles/mgba.dir/src/feature/video-logger.c.o -MF CMakeFiles/mgba.dir/src/feature/video-logger.c.o.d -o CMakeFiles/mgba.dir/src/feature/video-logger.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/feature/video-logger.c
[249/358] : && /nxb-bin/usr/bin/cc -fPIC -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing  -Wl,--as-needed -L/usr/local/lib -shared -Wl,-soname,libmgba.so.0.7 -o libmgba.so.0.7.0 CMakeFiles/mgba.dir/src/core/cache-set.c.o CMakeFiles/mgba.dir/src/core/cheats.c.o CMakeFiles/mgba.dir/src/core/config.c.o CMakeFiles/mgba.dir/src/core/core.c.o CMakeFiles/mgba.dir/src/core/directories.c.o CMakeFiles/mgba.dir/src/core/input.c.o CMakeFiles/mgba.dir/src/core/interface.c.o CMakeFiles/mgba.dir/src/core/library.c.o CMakeFiles/mgba.dir/src/core/lockstep.c.o CMakeFiles/mgba.dir/src/core/log.c.o CMakeFiles/mgba.dir/src/core/map-cache.c.o CMakeFiles/mgba.dir/src/core/mem-search.c.o CMakeFiles/mgba.dir/src/core/rewind.c.o CMakeFiles/mgba.dir/src/core/scripting.c.o CMakeFiles/mgba.dir/src/core/serialize.c.o CMakeFiles/mgba.dir/src/core/sync.c.o CMakeFiles/mgba.dir/src/c
 ore/thread.c.o CMakeFiles/mgba.dir/src/core/tile-cache.c.o CMakeFiles/mgba.dir/src/core/timing.c.o CMakeFiles/mgba.dir/src/lr35902/decoder.c.o CMakeFiles/mgba.dir/src/lr35902/isa-lr35902.c.o CMakeFiles/mgba.dir/src/lr35902/lr35902.c.o CMakeFiles/mgba.dir/src/gb/audio.c.o CMakeFiles/mgba.dir/src/gb/cheats.c.o CMakeFiles/mgba.dir/src/gb/core.c.o CMakeFiles/mgba.dir/src/gb/gb.c.o CMakeFiles/mgba.dir/src/gb/io.c.o CMakeFiles/mgba.dir/src/gb/mbc.c.o CMakeFiles/mgba.dir/src/gb/memory.c.o CMakeFiles/mgba.dir/src/gb/overrides.c.o CMakeFiles/mgba.dir/src/gb/serialize.c.o CMakeFiles/mgba.dir/src/gb/sio.c.o CMakeFiles/mgba.dir/src/gb/timer.c.o CMakeFiles/mgba.dir/src/gb/video.c.o CMakeFiles/mgba.dir/src/gb/renderers/cache-set.c.o CMakeFiles/mgba.dir/src/gb/renderers/software.c.o CMakeFiles/mgba.dir/src/arm/arm.c.o CMakeFiles/mgba.dir/src/arm/decoder-arm.c.o CMakeFiles/mgba.dir/src/arm/decoder-thumb.c.o CMakeFiles/mgba.dir/src/arm/decoder.c.o CMakeFiles/mgba.dir/src/arm/isa-arm.c.o CMakeFiles/m
 gba.dir/src/arm/isa-thumb.c.o CMakeFiles/mgb!
 a.dir/src/gba/audio.c.o CMakeFiles/mgba.dir/src/gba/bios.c.o CMakeFiles/mgba.dir/src/gba/cheats.c.o CMakeFiles/mgba.dir/src/gba/core.c.o CMakeFiles/mgba.dir/src/gba/dma.c.o CMakeFiles/mgba.dir/src/gba/gba.c.o CMakeFiles/mgba.dir/src/gba/hardware.c.o CMakeFiles/mgba.dir/src/gba/hle-bios.c.o CMakeFiles/mgba.dir/src/gba/input.c.o CMakeFiles/mgba.dir/src/gba/io.c.o CMakeFiles/mgba.dir/src/gba/matrix.c.o CMakeFiles/mgba.dir/src/gba/memory.c.o CMakeFiles/mgba.dir/src/gba/overrides.c.o CMakeFiles/mgba.dir/src/gba/savedata.c.o CMakeFiles/mgba.dir/src/gba/serialize.c.o CMakeFiles/mgba.dir/src/gba/sharkport.c.o CMakeFiles/mgba.dir/src/gba/sio.c.o CMakeFiles/mgba.dir/src/gba/timer.c.o CMakeFiles/mgba.dir/src/gba/vfame.c.o CMakeFiles/mgba.dir/src/gba/video.c.o CMakeFiles/mgba.dir/src/gba/cheats/codebreaker.c.o CMakeFiles/mgba.dir/src/gba/cheats/gameshark.c.o CMakeFiles/mgba.dir/src/gba/cheats/parv3.c.o CMakeFiles/mgba.dir/src/gba/renderers/cache-set.c.o CMakeFiles/mgba.dir/src/gba/renderers/sof
 tware-bg.c.o CMakeFiles/mgba.dir/src/gba/renderers/software-mode0.c.o CMakeFiles/mgba.dir/src/gba/renderers/software-obj.c.o CMakeFiles/mgba.dir/src/gba/renderers/video-software.c.o CMakeFiles/mgba.dir/src/util/circle-buffer.c.o CMakeFiles/mgba.dir/src/util/configuration.c.o CMakeFiles/mgba.dir/src/util/crc32.c.o CMakeFiles/mgba.dir/src/util/elf-read.c.o CMakeFiles/mgba.dir/src/util/export.c.o CMakeFiles/mgba.dir/src/util/formatting.c.o CMakeFiles/mgba.dir/src/util/gui.c.o CMakeFiles/mgba.dir/src/util/hash.c.o CMakeFiles/mgba.dir/src/util/patch-fast.c.o CMakeFiles/mgba.dir/src/util/patch-ips.c.o CMakeFiles/mgba.dir/src/util/patch-ups.c.o CMakeFiles/mgba.dir/src/util/patch.c.o CMakeFiles/mgba.dir/src/util/png-io.c.o CMakeFiles/mgba.dir/src/util/ring-fifo.c.o CMakeFiles/mgba.dir/src/util/string.c.o CMakeFiles/mgba.dir/src/util/table.c.o CMakeFiles/mgba.dir/src/util/text-codec.c.o CMakeFiles/mgba.dir/src/util/vfs.c.o CMakeFiles/mgba.dir/version.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-
 mem.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs!
 -fifo.c.o!
  CMakeFiles/mgba.dir/src/util/vfs/vfs-fd.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-dirent.c.o CMakeFiles/mgba.dir/src/platform/posix/memory.c.o CMakeFiles/mgba.dir/src/third-party/inih/ini.c.o CMakeFiles/mgba.dir/src/third-party/blip_buf/blip_buf.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-zip.c.o CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/ioapi.c.o CMakeFiles/mgba.dir/src/third-party/zlib/contrib/minizip/unzip.c.o CMakeFiles/mgba.dir/src/util/vfs/vfs-lzma.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zAlloc.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zArcIn.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zBuf2.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zCrc.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zCrcOpt.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zDec.c.o CMakeFiles/mgba.dir/src/third-party/lzma/CpuArch.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Delta.c.o CMakeFiles/mgba.dir/src/third-party/lzma/LzmaDec.c.o 
 CMakeFiles/mgba.dir/src/third-party/lzma/Lzma2Dec.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Bra.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Bra86.c.o CMakeFiles/mgba.dir/src/third-party/lzma/BraIA64.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Bcj2.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7.c.o CMakeFiles/mgba.dir/src/third-party/lzma/Ppmd7Dec.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zFile.c.o CMakeFiles/mgba.dir/src/third-party/lzma/7zStream.c.o CMakeFiles/mgba.dir/src/gba/sio/joybus.c.o CMakeFiles/mgba.dir/src/gba/sio/lockstep.c.o CMakeFiles/mgba.dir/src/gb/sio/lockstep.c.o CMakeFiles/mgba.dir/src/gb/sio/printer.c.o CMakeFiles/mgba.dir/src/feature/editline/cli-el-backend.c.o CMakeFiles/mgba.dir/src/debugger/gdb-stub.c.o CMakeFiles/mgba.dir/src/feature/ffmpeg/ffmpeg-encoder.c.o CMakeFiles/mgba.dir/src/feature/imagemagick/imagemagick-gif-encoder.c.o CMakeFiles/mgba.dir/src/feature/sqlite3/no-intro.c.o CMakeFiles/mgba.dir/src/debugger/debugger.c.o CMakeFiles/mgba.dir
 /src/debugger/parser.c.o CMakeFiles/mgba.dir!
 /src/debu!
 gger/symbols.c.o CMakeFiles/mgba.dir/src/debugger/cli-debugger.c.o CMakeFiles/mgba.dir/src/lr35902/debugger/cli-debugger.c.o CMakeFiles/mgba.dir/src/lr35902/debugger/debugger.c.o CMakeFiles/mgba.dir/src/lr35902/debugger/memory-debugger.c.o CMakeFiles/mgba.dir/src/gb/debugger/cli.c.o CMakeFiles/mgba.dir/src/gb/debugger/symbols.c.o CMakeFiles/mgba.dir/src/arm/debugger/cli-debugger.c.o CMakeFiles/mgba.dir/src/arm/debugger/debugger.c.o CMakeFiles/mgba.dir/src/arm/debugger/memory-debugger.c.o CMakeFiles/mgba.dir/src/gba/debugger/cli.c.o CMakeFiles/mgba.dir/src/gba/rr/mgm.c.o CMakeFiles/mgba.dir/src/gba/rr/rr.c.o CMakeFiles/mgba.dir/src/gba/rr/vbm.c.o CMakeFiles/mgba.dir/src/gba/extra/proxy.c.o CMakeFiles/mgba.dir/src/gb/extra/proxy.c.o CMakeFiles/mgba.dir/src/feature/commandline.c.o CMakeFiles/mgba.dir/src/feature/thread-proxy.c.o CMakeFiles/mgba.dir/src/feature/video-logger.c.o -L/usr/local/lib -Wl,-rpath,/usr/local/lib: -ledit -lavcodec -lavformat -lavresample -lavutil -lswscale -lswre
 sample -lMagickWand-6 -lMagickCore-6 -lz /usr/local/lib/libpng.so -lz -lz -lsqlite3 -lm -lz /usr/local/lib/libpng.so -lsqlite3 -lm && :
[250/358] /usr/local/bin/cmake -E cmake_symlink_library libmgba.so.0.7.0  libmgba.so.0.7 libmgba.so && :
[251/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DBUILD_SDL -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl -I/usr/local/include/SDL2 -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -
 isystem /usr/local/include -fno-strict-aliasing -MD -MT sdl/CMakeFiles/mgba-sdl.dir/sdl-audio.c.o -MF sdl/CMakeFiles/mgba-sdl.dir/sdl-audio.c.o.d -o sdl/CMakeFiles/mgba-sdl.dir/sdl-audio.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl/sdl-audio.c
[252/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DBUILD_SDL -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl -I/usr/local/include/SDL2 -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -
 isystem /usr/local/include -fno-strict-aliasing -MD -MT sdl/CMakeFiles/mgba-sdl.dir/sdl-events.c.o -MF sdl/CMakeFiles/mgba-sdl.dir/sdl-events.c.o.d -o sdl/CMakeFiles/mgba-sdl.dir/sdl-events.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl/sdl-events.c
[253/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DBUILD_SDL -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl -I/usr/local/include/SDL2 -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -
 isystem /usr/local/include -fno-strict-aliasing -MD -MT sdl/CMakeFiles/mgba-sdl.dir/__/opengl/gl.c.o -MF sdl/CMakeFiles/mgba-sdl.dir/__/opengl/gl.c.o.d -o sdl/CMakeFiles/mgba-sdl.dir/__/opengl/gl.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/opengl/gl.c
[254/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DBUILD_SDL -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl -I/usr/local/include/SDL2 -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -
 isystem /usr/local/include -fno-strict-aliasing -MD -MT sdl/CMakeFiles/mgba-sdl.dir/gl-common.c.o -MF sdl/CMakeFiles/mgba-sdl.dir/gl-common.c.o.d -o sdl/CMakeFiles/mgba-sdl.dir/gl-common.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl/gl-common.c
[255/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DBUILD_SDL -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl -I/usr/local/include/SDL2 -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -
 isystem /usr/local/include -fno-strict-aliasing -MD -MT sdl/CMakeFiles/mgba-sdl.dir/main.c.o -MF sdl/CMakeFiles/mgba-sdl.dir/main.c.o.d -o sdl/CMakeFiles/mgba-sdl.dir/main.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl/main.c
[256/358] /nxb-bin/usr/bin/cc -DBUILD_GL -DBUILD_GLES2 -DBUILD_SDL -DENABLE_SCRIPTING -DHAVE_CHMOD -DHAVE_CRC32 -DHAVE_LOCALE -DHAVE_LOCALTIME_R -DHAVE_SETLOCALE -DHAVE_SNPRINTF_L -DHAVE_STRDUP -DHAVE_STRNDUP -DHAVE_STRTOF_L -DHAVE_UMASK -DHAVE_XLOCALE -DMAGICKWAND_VERSION_MAJOR=6 -DM_CORE_GB -DM_CORE_GBA -DUSE_DEBUGGERS -DUSE_EDITLINE -DUSE_EPOXY -DUSE_FFMPEG -DUSE_GDB_STUB -DUSE_LIBSWRESAMPLE -DUSE_LZMA -DUSE_MAGICK -DUSE_PNG -DUSE_PTHREADS -DUSE_SQLITE3 -DUSE_ZLIB -D_7ZIP_PPMD_SUPPPORT -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/include -I/usr/local/include -I/usr/local/include/ImageMagick-6 -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/third-party/lzma -I/usr/local/include/libdrm -I/wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl -I/usr/local/include/SDL2 -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -
 isystem /usr/local/include -fno-strict-aliasing -MD -MT sdl/CMakeFiles/mgba-sdl.dir/gl-sdl.c.o -MF sdl/CMakeFiles/mgba-sdl.dir/gl-sdl.c.o.d -o sdl/CMakeFiles/mgba-sdl.dir/gl-sdl.c.o   -c /wrkdirs/usr/ports/emulators/mgba/work/mgba-0.7.0/src/platform/sdl/gl-sdl.c
[257/358] : && /nxb-bin/usr/bin/cc -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing -Wall -Wextra -Wno-missing-field-initializers -std=c99 -pthread -O2 -pipe  -isystem /usr/local/include -fno-strict-aliasing  -Wl,--as-needed -L/usr/local/lib sdl/CMakeFiles/mgba-sdl.dir/sdl-audio.c.o sdl/CMakeFiles/mgba-sdl.dir/sdl-events.c.o sdl/CMakeFiles/mgba-sdl.dir/__/opengl/gl.c.o sdl/CMakeFiles/mgba-sdl.dir/gl-common.c.o sdl/CMakeFiles/mgba-sdl.dir/main.c.o sdl/CMakeFiles/mgba-sdl.dir/gl-sdl.c.o  -o sdl/mgba -L/usr/local/lib -Wl,-rpath,/usr/local/lib:/wrkdirs/usr/ports/emulators/mgba/work/.build: libmgba.so.0.7.0 -lSDL2 /usr/local/lib/libGL.so /usr/local/lib/libGLU.so -lepoxy -ledit -lavcodec -lavformat -lavresample -lavutil -lswscale -lswresample -lMagickWand-6 -lMagickCore-6 -lz /usr/local/lib/libpng.so -lsqlite3 -lm -lz /usr/local/lib/libpng.so -lsqlite3 -lm && :
=>> Killing runaway build after 21600 seconds with no output



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903090004.x29046pY063651>