diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -109,6 +109,15 @@ endif | |||
109 | check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ | 109 | check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ |
110 | then echo "$(1)"; else echo "$(2)"; fi) | 110 | then echo "$(1)"; else echo "$(2)"; fi) |
111 | 111 | ||
112 | # Setup some shortcuts so that silent mode is silent like it should be | ||
113 | ifeq ($(subst s,,$(MAKEFLAGS)),$(MAKEFLAGS)) | ||
114 | export MAKE_IS_SILENT=n | ||
115 | SECHO=@echo | ||
116 | else | ||
117 | export MAKE_IS_SILENT=y | ||
118 | SECHO=-@false | ||
119 | endif | ||
120 | |||
112 | #-------------------------------------------------------- | 121 | #-------------------------------------------------------- |
113 | # Arch specific compiler optimization stuff should go here. | 122 | # Arch specific compiler optimization stuff should go here. |
114 | # Unless you want to override the defaults, do not set anything | 123 | # Unless you want to override the defaults, do not set anything |