From dde573d43679c08d387c408a10fde1ac21a085fa Mon Sep 17 00:00:00 2001 From: suhrke Date: Wed, 30 Sep 2020 20:02:05 -0700 Subject: [PATCH] Static compilation for MinGW Windows 10 build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 18d583d..6b24425 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ EX=reflex2q3 CC=g++ -CFLAGS=-std=c++11 -I"/mingw64/include/eigen3" -I"include" -I"lib/Catch/single_include" -I"lib/cxxopts/include" -I"/usr/include/eigen3" +CFLAGS=-std=c++11 -static -static-libgcc -static-libstdc++ -I"/mingw64/include/eigen3" -I"include" -I"lib/Catch/single_include" -I"lib/cxxopts/include" -I"/usr/include/eigen3" TESTEX=runtests all: main test