From 8272dcb6cd42c5c92ce7bb77797d52aebc83355b Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 9 Oct 2011 08:22:13 +0100 Subject: [PATCH] Link Time Optimization doesn't needs -static Justin reports that it breaks the compilation on Fedore 15 and as Tom says: -static is only needed to work around the gcc on ubuntu 11.10 beta bug. If -static introduces issues on its own then it is better to remove it. It will not be needed in most environments. No functional change. Signed-off-by: Marco Costalba --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 6a47b177..669052f4 100644 --- a/src/Makefile +++ b/src/Makefile @@ -315,7 +315,7 @@ ifeq ($(popcnt),yes) ### needs access to the optimization flags. ifeq ($(comp),gcc) CXXFLAGS += -msse3 -flto - LDFLAGS += $(CXXFLAGS) -static + LDFLAGS += $(CXXFLAGS) endif endif -- 2.39.2