There is no difference between the two. They both declare environment variables for make.
________________________________ From: Help-make <[email protected]> on behalf of Pietro <[email protected]> Sent: Monday, September 19, 2016 9:32 AM To: [email protected] Subject: Exported vs command line variables Hi, I have noticed that there is a difference between the two scenarios listed below: i) make CC=arm-linux-gnueabihf-gcc CPPFLAGS=[..] ii) export CPPFLAGS=[..] [RET] make CC=arm-linux-gnueabihf-gcc I have read over internet that the latter is used when appending instead of replacing/setting the variable's value. What is exactly the difference ? Is there a page in the Make manual explaining that ? Thanks a lot, P. _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make Help-make -- Users list for the GNU implementation of make<https://lists.gnu.org/mailman/listinfo/help-make> lists.gnu.org Help-make -- Users list for the GNU implementation of make About Help-make _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
