Skip to content

Instantly share code, notes, and snippets.

@ntalbott
Created November 28, 2015 21:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntalbott/75a8aa269b2d310bf02f to your computer and use it in GitHub Desktop.
Save ntalbott/75a8aa269b2d310bf02f to your computer and use it in GitHub Desktop.
Patch allowing cross-compilation for ipxrelay
diff --git a/Makefile b/Makefile
index 873fb1b..20dcc64 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-CC = gcc
+CROSSCOMPILE ?=
+CC = $(CROSSCOMPILE)gcc
CWARN = -W -Wall
COPT = -g -O2
CREQ =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment