summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/lcc/etc/bytecode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/lcc/etc/bytecode.c b/src/tools/lcc/etc/bytecode.c
index fe4178fd..a5855de3 100644
--- a/src/tools/lcc/etc/bytecode.c
+++ b/src/tools/lcc/etc/bytecode.c
@@ -52,6 +52,10 @@ int option(char *arg) {
cpp[0] = concat(&arg[8], "/q3cpp" BINEXT);
include[0] = concat("-I", concat(&arg[8], "/include"));
com[0] = concat(&arg[8], "/q3rcc" BINEXT);
+ } else if (strncmp(arg, "-lcppdir=", 9) == 0) {
+ cpp[0] = concat(&arg[9], "/q3cpp" BINEXT);
+ } else if (strncmp(arg, "-lrccdir=", 9) == 0) {
+ com[0] = concat(&arg[9], "/q3rcc" BINEXT);
} else if (strcmp(arg, "-p") == 0 || strcmp(arg, "-pg") == 0) {
fprintf( stderr, "no profiling supported, %s ignored.\n", arg);
} else if (strcmp(arg, "-b") == 0)