[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #29885] MAKEFLAGS doen't pass commandline varaibles to sub-make
From: |
Jens Seidel |
Subject: |
[bug #29885] MAKEFLAGS doen't pass commandline varaibles to sub-make |
Date: |
Wed, 24 Apr 2019 05:40:37 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #2, bug #29885 (project make):
Now add
$(info MAKEFLAGS=${MAKEFLAGS})
$(info MAKEOVERRIDES=${MAKEOVERRIDES})
to the top part of the makefile:
$ make -f x2.mk FOO=bar
MAKEFLAGS=
MAKEOVERRIDES=FOO=bar
make -f x2.mk show
make[1]: Entering directory
'/build/seidel/FaceVACS-Exp/new/FaceVACS-Exp-Software'
MAKEFLAGS=w
MAKEOVERRIDES=FOO=bar
: w -- FOO=bar
You see that MAKEFLAGS does not contain variable definitions or is there an
issue with $(info)?
I use $(info), $(warning), $(error) a lot for debugging and I currently want
to check whether the flag -k was specified as make flag. If MAKEFLAGS really
contains also variable settings I should check the older MFLAGS instead ...
Verified with make 4.1 and 3.81.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?29885>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #29885] MAKEFLAGS doen't pass commandline varaibles to sub-make,
Jens Seidel <=