|
| From: | Paul D. Smith |
| Subject: | [bug #59395] gmake space handling is not compatible to POSIX |
| Date: | Fri, 27 Nov 2020 11:54:04 -0500 (EST) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Update of bug #59395 (project make):
Status: None => Not A Bug
Assigned to: None => psmith
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
If you want POSIX behavior you have to define the .POSIX: special target; this
makefile works as you expect with GNU make:
.POSIX:
all: ; echo "$X"
X=hallo\
\
\
end
Prints:
hallo end
Note there's a bug #35711 which will bite you if you try to put the variable
assignment directly after .POSIX:. I have a fix for that which will be in the
next release of GNU make.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59395>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |