mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-02 17:30:24 +00:00
respect DISABLE_ABC_THREADS if used
This commit is contained in:
parent
45740236b6
commit
443865ab87
1 changed files with 5 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -164,8 +164,11 @@ ifeq ($(NO_FPIC),1)
|
|||
CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS))
|
||||
endif
|
||||
CXXFLAGS += -std=c++11 -Os
|
||||
ABCMKARGS = CC="$(CC)" CXX="$(CXX)" LD="$(LD)" ABC_USE_LIBSTDCXX=1 LIBS="-static -lm -lpthread" OPTFLAGS="-O" \
|
||||
ABCMKARGS = CC="$(CC)" CXX="$(CXX)" LD="$(LD)" ABC_USE_LIBSTDCXX=1 LIBS="-lm -lpthread -static" OPTFLAGS="-O" \
|
||||
ARCHFLAGS="-DABC_USE_STDINT_H -DABC_NO_DYNAMIC_LINKING=1 -Wno-unused-but-set-variable $(ARCHFLAGS)" ABC_USE_NO_READLINE=1
|
||||
ifeq ($(DISABLE_ABC_THREADS),1)
|
||||
ABCMKARGS += "ABC_USE_NO_PTHREADS=1"
|
||||
endif
|
||||
|
||||
else ifeq ($(CONFIG),gcc-4.8)
|
||||
CXX = gcc-4.8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue