OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 12... | Line 12... | |||
12 | Makefile | 6 +++--- |
12 | Makefile | 6 +++--- |
|
13 | 1 file changed, 3 insertions(+), 3 deletions(-) |
13 | 1 file changed, 3 insertions(+), 3 deletions(-) |
|
Line 14... | Line 14... | |||
14 | |
14 | |
|
15 | --- a/Makefile |
15 | --- a/Makefile |
|
16 | +++ b/Makefile |
16 | +++ b/Makefile |
|
- | 17 | @@ -643,12 +643,12 @@ KBUILD_CFLAGS += $(call cc-option,-fdata |
||
Line 17... | Line 18... | |||
17 | @@ -680,12 +680,12 @@ endif |
18 | endif |
|
18 | |
- | ||
19 | ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE |
19 | |
|
20 | KBUILD_CFLAGS += $(call cc-option,-Oz,-Os) |
20 | ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE |
|
21 | -KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,) |
21 | -KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) |
|
22 | +KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,) $(EXTRA_OPTIMIZATION) |
22 | +KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) $(EXTRA_OPTIMIZATION) |
|
23 | else |
23 | else |
|
24 | ifdef CONFIG_PROFILE_ALL_BRANCHES |
24 | ifdef CONFIG_PROFILE_ALL_BRANCHES |
|
25 | -KBUILD_CFLAGS += -O2 $(call cc-disable-warning,maybe-uninitialized,) |
25 | -KBUILD_CFLAGS += -O2 $(call cc-disable-warning,maybe-uninitialized,) |