aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/openbor/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/openbor/Makefile b/games/openbor/Makefile
index 20d0446a76c3..046f2c614a06 100644
--- a/games/openbor/Makefile
+++ b/games/openbor/Makefile
@@ -21,7 +21,8 @@ MAKE_ENV= BUILD_LINUX=1 SDKPATH="${LOCALBASE}" \
MAKE_ARGS= CC="${CC}" LIBRARIES="${LOCALBASE}/lib" \
TARGET_ARCH=${ARCH:S/i386/x86/} ARCHFLAGS="" \
TARGET_FINAL='${TARGET}' BUILD_MMX=""
-CFLAGS+= -fgnu89-inline
+CFLAGS+= -fgnu89-inline ${CFLAGS_${OPSYS}}
+CFLAGS_DragonFly= -D_GCC_MAX_ALIGN_T # system stddef.h
LDFLAGS+= -Wl,--as-needed # ogg, pthread, zlib
PLIST_FILES= bin/${PORTNAME} \
share/pixmaps/${PORTNAME}.png