From 6dc37f6cc98a2784f44e0505733358aaebae980a Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Fri, 31 Jul 2020 00:25:08 +0300 Subject: [PATCH] build: CFLAGS for check/test target to match the main target --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index db70628..cc9c692 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,9 @@ checkLDFLAGS = -L./.libs \ -lm \ -lcglm checkCFLAGS = $(AM_CFLAGS) \ - -I./include + -std=gnu11 \ + -O3 \ + -I./include check_PROGRAMS = test/tests TESTS = $(check_PROGRAMS)