Closed
Description
At compile time, you can enable and disable features by giving parameters to make
(or exporting environment variables) such as NO_SHARED
, NO_STATIC
, and NOFORTRAN
. In Makefile
, the variables are sometimes treated as booleans, e.g., Makefile
, line 133-144, sometimes their existence is checked, e.g., Makefile:88
.
Which of these operations is correct?
I strongly prefer the interpretation as booleans because I find definitions like NO_SHARED=1
very suggestive of booleans. In fact, I report this issue because I have a script that broke when it called make with NO_SHARED=0
.
Metadata
Metadata
Assignees
Labels
No labels