From 86949ae500d0778b7f5809ac3c4acc63d0f72bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Wed, 24 Nov 2021 12:05:22 +0100 Subject: [PATCH] Makefile.config: remove unneeded case distinction for Darwin Both cases do the same thing presently. --- Makefile.config | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile.config b/Makefile.config index f141d400..93fd383d 100644 --- a/Makefile.config +++ b/Makefile.config @@ -32,13 +32,8 @@ CFLAGS += $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -Wno-shift-neg BASE_CFLAGS ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -Wno-shift-negative-value -Wno-unused-command-line-argument -I$(PREFIX)/include # Used by Cyclone to compile programs, no need for PIC there 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) -else -COMP_CFLAGS ?= $(BASE_CFLAGS) -L$(PREFIX)/lib +COMP_CFLAGS ?= $(BASE_CFLAGS) -L$(PREFIX)/lib COMP_PROG_CFLAGS ?= $(BASE_PROG_CFLAGS) -endif # Use these lines instead for debugging or profiling #CFLAGS = -g -Wall