Fix an issue where -std=gnu++11 would become the only flag.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 20 Nov 2017 23:57:51 +0000 (00:57 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 20 Nov 2017 23:57:57 +0000 (00:57 +0100)
configure.ac

index 25efcc8..5bc98f0 100644 (file)
@@ -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])