mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
Makefile.config: remove unneeded case distinction for Darwin
Both cases do the same thing presently.
This commit is contained in:
parent
ff6a11042e
commit
86949ae500
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue