Allows passing CPPFLAGS, CFLAGS and CXXFLAGS to configure.
---

I am not sure if this is the best place to submit patches for Crucible.

---
 Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 656ee22..0478868 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
 
 export CRUCIBLE_TOP := $(srcdir)
 
-CPPFLAGS = \
+AM_CPPFLAGS = \
    $(MESA_CPPFLAGS) \
    -D_DEFAULT_SOURCE \
    -D_GNU_SOURCE \
@@ -37,13 +37,13 @@ common_CFLAGS = -Wall -O0 -g3 \
        $(LIBXML2_CFLAGS) \
        $(NULL)
 
-CFLAGS = -std=gnu11 \
+AM_CFLAGS = -std=gnu11 \
         $(common_CFLAGS) \
        -Werror=implicit-function-declaration \
        -Werror=implicit-int \
        -Werror=missing-prototypes
 
-CXXFLAGS = -std=c++11 $(common_CFLAGS)
+AM_CXXFLAGS = -std=c++11 $(common_CFLAGS)
 
 noinst_PROGRAMS = \
        bin/crucible
-- 
2.13.5

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to