aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWilliam D. Jones <thor0505@comcast.net>2018-06-27 16:26:36 -0400
committerWilliam D. Jones <thor0505@comcast.net>2018-06-27 16:26:36 -0400
commitee7164b87902313fe7a4af616891340b449db900 (patch)
tree35226a42d64108e5ce7315976c5b088769d20ef1 /Makefile
parent848c3c5c889945f64ddefc8fe45342a4338dc769 (diff)
downloadyosys-ee7164b87902313fe7a4af616891340b449db900.tar.gz
yosys-ee7164b87902313fe7a4af616891340b449db900.tar.bz2
yosys-ee7164b87902313fe7a4af616891340b449db900.zip
Use msys2-provided pthreads instead of abc's.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 11803ec0a..e8d7addf5 100644
--- a/Makefile
+++ b/Makefile
@@ -217,7 +217,7 @@ CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS))
LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) -s
LDLIBS := $(filter-out -lrt,$(LDLIBS))
ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H -DWIN32_NO_DLL -DHAVE_STRUCT_TIMESPEC -fpermissive -w"
-ABCMKARGS += LIBS="lib/x86/pthreadVC2.lib -s" ABC_USE_NO_READLINE=0
+ABCMKARGS += LIBS="-lpthread -s" ABC_USE_NO_READLINE=0 CC="i686-w64-mingw32-gcc" CXX="$(CXX)"
EXE = .exe
else ifneq ($(CONFIG),none)