mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make/info-build: Protect shell from parentheses in CFLAGS
As for why the `-e` is being removed, observe that the `-e` would otherwise be printed; there is an [elaborate treatise] on what happens there. [elaborate treatise]: https://unix.stackexchange.com/questions/700675/why-is-echo-e-behaving-weird-in-a-makefile
This commit is contained in:
parent
cbee5f4b96
commit
9d7fd993aa
@ -82,7 +82,7 @@ info-build:
|
||||
@echo -e 'INCLUDES:$(patsubst %, \n\t%, $(INCLUDES))'
|
||||
@echo ''
|
||||
@echo 'CC: $(CC)'
|
||||
@echo -e 'CFLAGS:$(patsubst %, \n\t%, $(CFLAGS))'
|
||||
@echo 'CFLAGS:$(patsubst %, \n\t%, $(subst ','"'"',$(CFLAGS)))'
|
||||
@echo ''
|
||||
@echo 'CXX: $(CXX)'
|
||||
@echo -e 'CXXUWFLAGS:$(patsubst %, \n\t%, $(CXXUWFLAGS))'
|
||||
|
Loading…
Reference in New Issue
Block a user