diff --git a/Makefile b/Makefile index e26eb435a..544655951 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,7 @@ ifeq ($(OS),Darwin) MERGE=false endif else + CFLAGS += -static CXXFLAGS += -Wl,-z,defs ifeq ($(MERGE),true) CXXFLAGS += -fwhole-program