Line 0
Link Here
|
|
|
1 |
--- makefile.orig 2012-04-23 16:28:04.000000000 +0200 |
2 |
+++ makefile 2016-01-19 20:21:21.371550000 +0100 |
3 |
@@ -332,8 +332,10 @@ |
4 |
endif |
5 |
ifeq (,$(NO_LTO)) |
6 |
ifneq (,$(findstring -flto,$(GCC_OPTIMIZERS))) |
7 |
- CFLAGS_O += -flto -fwhole-program |
8 |
- LDFLAGS_O += -flto -fwhole-program |
9 |
+ ifneq (,$(findstring -fwhole-program,$(GCC_OPTIMIZERS))) |
10 |
+ CFLAGS_O += -flto -fwhole-program |
11 |
+ LDFLAGS_O += -flto -fwhole-program |
12 |
+ endif |
13 |
endif |
14 |
endif |
15 |
BUILD_FEATURES = - compiler optimizations and no debugging support |