From 236c7e84f46a9ebb79de25bafebd694f931dd37d Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 28 Feb 2020 14:37:37 -0500 Subject: [PATCH] Issue #351 - Prevent warnings when compiling with clang --- Makefile.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.config b/Makefile.config index 1c180719..20d5b79c 100644 --- a/Makefile.config +++ b/Makefile.config @@ -29,10 +29,10 @@ BASE_CFLAGS ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -Wno-shift-neg BASE_PROG_CFLAGS ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -Wall -I$(PREFIX)/include ifeq ($(OS),Darwin) COMP_CFLAGS ?= $(BASE_CFLAGS) -L$(PREFIX)/lib -COMP_PROG_CFLAGS ?= $(BASE_PROG_CFLAGS) -L$(PREFIX)/lib +COMP_PROG_CFLAGS ?= $(BASE_PROG_CFLAGS) else COMP_CFLAGS ?= $(BASE_CFLAGS) -L$(PREFIX)/lib -COMP_PROG_CFLAGS ?= $(BASE_PROG_CFLAGS) -L$(PREFIX)/lib +COMP_PROG_CFLAGS ?= $(BASE_PROG_CFLAGS) endif # Use these lines instead for debugging or profiling