mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-09 22:17:33 +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 ?=
|
||||||
#CYC_PROFILING ?= -pg
|
#CYC_PROFILING ?= -pg
|
||||||
|
|
||||||
|
CYC_GCC_OPT_FLAGS ?= -O2
|
||||||
|
#CYC_GCC_OPT_FLAGS ?= -g
|
||||||
|
|
||||||
OS ?= $(shell uname)
|
OS ?= $(shell uname)
|
||||||
CC ?= cc
|
CC ?= cc
|
||||||
|
|
||||||
|
@ -17,8 +20,8 @@ LIBS += -ldl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Compiler options
|
# Compiler options
|
||||||
CFLAGS ?= $(CYC_PROFILING) -O2 -fPIC -Wall -Iinclude
|
CFLAGS ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -Iinclude
|
||||||
COMP_CFLAGS ?= $(CYC_PROFILING) -O2 -fPIC -Wall -I$(PREFIX)/include -L$(PREFIX)/lib
|
COMP_CFLAGS ?= $(CYC_PROFILING) $(CYC_GCC_OPT_FLAGS) -fPIC -Wall -I$(PREFIX)/include -L$(PREFIX)/lib
|
||||||
# Use these lines instead for debugging or profiling
|
# Use these lines instead for debugging or profiling
|
||||||
#CFLAGS = -g -Wall
|
#CFLAGS = -g -Wall
|
||||||
#CFLAGS = -g -pg -Wall
|
#CFLAGS = -g -pg -Wall
|
||||||
|
|
Loading…
Add table
Reference in a new issue