summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md7
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 1d73fe9..dea9bb3 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ Q_OBJS = util.o llmnr-query.o
Q_LIBS =
Q_MAN = $(Q_P).1
-CC ?= $(CROSS_COMPILE)gcc
+CC ?= gcc
INSTALL = install
GZIP = gzip -9 -c
diff --git a/README.md b/README.md
index f2165ad..3b5627d 100644
--- a/README.md
+++ b/README.md
@@ -32,11 +32,12 @@ $ sudo make prefix=<path> install
Cross-Compilation
=================
-To cross-compile llmnrd for a different architecture, use the `CROSS_COMPILE`
-make variable. To e.g. build it using the arm-linux-gnueabihf toolchain use:
+To cross-compile llmnrd for a different architecture, set the `CC` make
+variable to the corresponding cross-compiler. To e.g. build it using the
+arm-linux-gnueabihf toolchain use:
```
-$ make CROSS_COMPILE=arm-linux-gnueabihf-
+$ make CC=arm-linux-gnueabihf-gcc
```
When cross-compiling, you usually don't want to install the generated binary to