mirror of https://github.com/YosysHQ/icestorm.git
Build optimized binaries by default
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
90f0e40cb8
commit
8eedb8cf04
|
|
@ -1,4 +1,5 @@
|
|||
PREFIX ?= /usr/local
|
||||
DEBUG ?= 0
|
||||
|
||||
CXX ?= clang++
|
||||
CC ?= clang
|
||||
|
|
@ -6,12 +7,12 @@ PKG_CONFIG ?= pkg-config
|
|||
|
||||
C_STD ?= c99
|
||||
CXX_STD ?= c++11
|
||||
ifeq ($(EMCC),1)
|
||||
OPT_LEVEL ?= 2
|
||||
DBG_LEVEL ?=
|
||||
else
|
||||
ifeq ($(DEBUG),1)
|
||||
OPT_LEVEL ?= 0
|
||||
DBG_LEVEL ?= -ggdb
|
||||
else
|
||||
OPT_LEVEL ?= 2
|
||||
DBG_LEVEL ?=
|
||||
endif
|
||||
WARN_LEVEL ?= all
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue