mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
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 <mcostalba@gmail.com>
This commit is contained in:
parent
fec623d68d
commit
8272dcb6cd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue