From: Clifford Wolf Date: Mon, 15 Aug 2016 22:52:10 +0000 (+0200) Subject: ABC mxe cross-build fix X-Git-Tag: yosys-0.7~139 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4561586eedb32fc5525cae87fded69860f609686;p=yosys.git ABC mxe cross-build fix --- diff --git a/Makefile b/Makefile index 3431dee86..ca585f05d 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,7 @@ CXXFLAGS += -std=c++11 -Os -D_POSIX_SOURCE CXXFLAGS := $(filter-out -fPIC,$(CXXFLAGS)) LDFLAGS := $(filter-out -rdynamic,$(LDFLAGS)) -s LDLIBS := $(filter-out -lrt,$(LDLIBS)) -ABCMKARGS += ARCHFLAGS="-DSIZEOF_VOID_P=4 -DSIZEOF_LONG=4 -DSIZEOF_INT=4 -DWIN32_NO_DLL -x c++ -fpermissive -w" +ABCMKARGS += ARCHFLAGS="-DSIZEOF_VOID_P=4 -DSIZEOF_LONG=4 -DSIZEOF_INT=4 -DWIN32_NO_DLL -DHAVE_STRUCT_TIMESPEC -x c++ -fpermissive -w" ABCMKARGS += LIBS="lib/x86/pthreadVC2.lib -s" ABC_USE_NO_READLINE=1 CC="$(CXX)" CXX="$(CXX)" EXE = .exe