ABC mxe cross-build fix
authorClifford Wolf <clifford@clifford.at>
Mon, 15 Aug 2016 22:52:10 +0000 (00:52 +0200)
committerClifford Wolf <clifford@clifford.at>
Mon, 15 Aug 2016 22:52:10 +0000 (00:52 +0200)
Makefile

index 3431dee864e721077b9df1518a564255004dda1b..ca585f05dace23ff6ab3685ac4261a3f60cf60a5 100644 (file)
--- 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