summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-04 04:11:00 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-04 04:11:00 +0000
commit53ea605b4d3f387bc92ed0200e23e192ab9562f1 (patch)
treeacf4789f3f2ade9dac50d1ec88387361bf483f53 /nasm.c
parent00edfad9cbe6e4b3559f431790fe62ec6794b933 (diff)
downloadnasm-53ea605b4d3f387bc92ed0200e23e192ab9562f1.tar.gz
Change the NASM environment variable to NASMOPT.
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasm.c b/nasm.c
index a0446d83..266b4eef 100644
--- a/nasm.c
+++ b/nasm.c
@@ -683,9 +683,9 @@ static void parse_cmdline(int argc, char **argv)
*inname = *outname = *listname = '\0';
/*
- * First, process the NASM environment variable.
+ * First, process the NASMOPT environment variable.
*/
- envreal = getenv("NASM");
+ envreal = getenv("NASMOPT");
arg = NULL;
if (envreal) {
envcopy = nasm_strdup(envreal);