From 4f634d4cd3254dfc68b65e63be32708105032101 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Thu, 22 Oct 2020 00:24:34 -0400 Subject: Fix Makefiles so that a custom CFLAGS doesn't break the build --- all_pairs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'all_pairs') diff --git a/all_pairs/Makefile b/all_pairs/Makefile index 0042372..f0b284e 100644 --- a/all_pairs/Makefile +++ b/all_pairs/Makefile @@ -1,7 +1,7 @@ LIBLITMUS ?= /media/speedy/litmus/liblitmus CC ?= gcc -CFLAGS = -pthread -O2 -I.. -DPAIRED -LDFLAGS = -lrt +override CFLAGS += -pthread -O2 -I.. -DPAIRED +LDFLAGS += -lrt COMMON = ../extra.h # Handle cases where we're also profiling with the MMDC on the i.MX6Q -- cgit v1.2.2