summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2012-06-01 12:20:24 +0300
committerKristian Høgsberg <krh@bitplanet.net>2012-06-01 10:32:31 -0400
commitd95222e56f79c0602ab542300e0adf0c415cfaee (patch)
tree8a5b426e077cc721a208040f968937e902fa37a7
parent805667388b2f0d0210869daa512598819c7fb1bf (diff)
compositor-android: fix build flags
When adding a C++ file to the build, I forgot to set CXXFLAGS for it, triggering the error: android-framebuffer.h:26:21: fatal error: EGL/egl.h: No such file or directory I never hit this, because I have EGL headers installed also in my system, rather than only in $prefix. Fix this by setting the CXXFLAGS for the android backend. Reported-by: Scott Moreau <oreaus@gmail.com> Reported-by: Tiago Vignatti <tiago.vignatti@intel.com> Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r--src/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ea81d33..fd8aa9b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -130,6 +130,7 @@ android_backend = android-backend.la
android_backend_la_LDFLAGS = -module -avoid-version
android_backend_la_LIBADD = $(COMPOSITOR_LIBS)
android_backend_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
+android_backend_la_CXXFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
android_backend_la_SOURCES = \
compositor-android.c \
android-framebuffer.cpp \