aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-07-31 22:39:37 +0800
committerbapt <bapt@FreeBSD.org>2013-07-31 22:39:37 +0800
commitf3ff8c175920087d7652a62103733335d5603344 (patch)
treee547a01d266234f21b6331aedf6177d67b9b98bd
parent9b92ffe4e2f71d4e63d0b77878ce33d941b52348 (diff)
downloadfreebsd-ports-gnome-f3ff8c175920087d7652a62103733335d5603344.tar.gz
freebsd-ports-gnome-f3ff8c175920087d7652a62103733335d5603344.tar.zst
freebsd-ports-gnome-f3ff8c175920087d7652a62103733335d5603344.zip
Fix build with clang by forcing gnu89 standard
Fix build in head without gcc installed
-rw-r--r--emulators/gngeo/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/emulators/gngeo/Makefile b/emulators/gngeo/Makefile
index 8e94e226d990..e56ccbb0673a 100644
--- a/emulators/gngeo/Makefile
+++ b/emulators/gngeo/Makefile
@@ -21,6 +21,8 @@ MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= ${CFLAGS} `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
LDFLAGS+= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
+USE_CSTD= gnu89
+MAKE_ARGS+= CC_FOR_BUILD=${CC}
SUB_FILES= pkg-message