mirror of
https://github.com/sockspls/badfish
synced 2025-05-03 10:09:35 +00:00
Revert "Fix link time optimization gcc option"
It seems we need to pass the full optimization flags to the linker otherwise we end up in a slow compile: http://lists.debian.org/debian-devel/2011/06/msg00181.html Regression reported by Benigno Hernandez. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
3d937e1e90
commit
830ff985db
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ ifeq ($(comp),gcc)
|
||||||
GCC_MINOR := `$(CXX) -dumpversion | cut -f2 -d.`
|
GCC_MINOR := `$(CXX) -dumpversion | cut -f2 -d.`
|
||||||
ifeq (1,$(shell expr \( $(GCC_MAJOR) \> 4 \) \| \( $(GCC_MAJOR) \= 4 \& $(GCC_MINOR) \>= 5 \)))
|
ifeq (1,$(shell expr \( $(GCC_MAJOR) \> 4 \) \| \( $(GCC_MAJOR) \= 4 \& $(GCC_MINOR) \>= 5 \)))
|
||||||
CXXFLAGS += -flto
|
CXXFLAGS += -flto
|
||||||
LDFLAGS += -flto
|
LDFLAGS += $(CXXFLAGS)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue