0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 07:28:57 +00:00
termux-packages/x11-packages/pong2/configure.ac.patch
2022-05-02 09:03:21 +09:00

12 lines
410 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@
AM_PATH_SDL($SDL_VERSION,:,
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]))
dnl CFLAGS="$CFLAGS $SDL_CFLAGS"
-CXXFLAGS="$CFLAGS $SDL_CFLAGS -DPATH_PREFIX=\\\"\$(datadir)/\$(PACKAGE)/\\\""
+CXXFLAGS="$CFLAGS -std=c++98 $SDL_CFLAGS -DPATH_PREFIX=\\\"\$(datadir)/\$(PACKAGE)/\\\""
LIBS="$LIBS $SDL_LIBS"
dnl Checks for library functions.