From: Steinar H. Gunderson Date: Mon, 20 Nov 2017 23:57:51 +0000 (+0100) Subject: Fix an issue where -std=gnu++11 would become the only flag. X-Git-Tag: 1.6.0~48 X-Git-Url: https://git.sesse.net/?p=movit;a=commitdiff_plain;h=3393f61ef94cbcb63f189767dfa0772316bd453f Fix an issue where -std=gnu++11 would become the only flag. --- diff --git a/configure.ac b/configure.ac index 25efcc8..5bc98f0 100644 --- a/configure.ac +++ b/configure.ac @@ -3,8 +3,6 @@ AC_INIT(movit, git) LT_INIT PKG_PROG_PKG_CONFIG -CXXFLAGS="$CXXFLAGS -std=gnu++11" - AC_CONFIG_SRCDIR(effect.cpp) AC_CONFIG_AUX_DIR(.) @@ -14,6 +12,8 @@ PKG_CHECK_MODULES([Eigen3], [eigen3]) PKG_CHECK_MODULES([epoxy], [epoxy]) PKG_CHECK_MODULES([FFTW3], [fftw3]) +CXXFLAGS="$CXXFLAGS -std=gnu++11" + # Needed for unit tests and the demo app. with_demo_app=yes PKG_CHECK_MODULES([SDL2], [sdl2])