mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 14:07:34 +02:00
Added opt flag
This commit is contained in:
parent
2ff11b1ace
commit
b50d7360e0
1 changed files with 5 additions and 2 deletions
|
@ -7,6 +7,9 @@
|
|||
CYC_PROFILING ?=
|
||||
#CYC_PROFILING ?= -pg
|
||||
|
||||
CYC_GCC_OPT_FLAGS ?= -O2
|
||||
#CYC_GCC_OPT_FLAGS ?= -g
|
||||
|
||||
OS ?= $(shell uname)
|
||||
CC ?= cc
|
||||
|
||||
|
@ -17,8 +20,8 @@ LIBS += -ldl
|
|||
endif
|
||||
|
||||
# Compiler options
|
||||
CFLAGS ?= $(CYC_PROFILING) -O2 -fPIC -Wall -Iinclude
|
||||
COMP_CFLAGS ?= $(CYC_PROFILING) -O2 -fPIC -Wall -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||
CFLAGS ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -Iinclude
|
||||
COMP_CFLAGS ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||
# Use these lines instead for debugging or profiling
|
||||
#CFLAGS = -g -Wall
|
||||
#CFLAGS = -g -pg -Wall
|
||||
|
|
Loading…
Add table
Reference in a new issue