summaryrefslogtreecommitdiff
path: root/Misc
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-04-23 11:52:27 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-04-23 11:54:43 +0200
commitf2275b2c13743ff6059068ac8eaa82733bfa2630 (patch)
tree2086b3a543b0132755cf04bf53b010b4c3e4afe0 /Misc
parent6a7762bd6ab5eaeec23fa05a22c1edf4d9ab0804 (diff)
build: Restore support for cross-compiling the netsniff-ng toolkit
Ever since we switched to the hand-crafted ./configure script, support for cross-compiling the netsniff-ng toolkit was basically broken. Restore the abaility to cross-compile our tools by making ./configure consider the CROSS_COMPILE and SYSROOT variables. Example for cross-compiling on arm: $ CROSS_COMPILE=arm-linux-gnueabihf- \ SYSROOT=/usr/arm-linux-gnueabihf \ ./configure $ make assuming the cross-compiled libraries (and their respective pkg-config information) are in /usr/arm-linux-gnueabihf. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Misc')
-rw-r--r--Misc2
1 files changed, 0 insertions, 2 deletions
diff --git a/Misc b/Misc
index 8031c79..cd252f0 100644
--- a/Misc
+++ b/Misc
@@ -107,8 +107,6 @@ help:
$(Q)echo " HARDENING=1 - Enable GCC hardening of executables"
$(Q)echo " PREFIX=/path - Install path prefix"
$(Q)echo " DESTDIR=/path - Alternative install destination path"
- $(Q)echo " CROSS_COMPILE=arch-prefix - Kernel-like cross-compiling architecture prefix"
- $(Q)echo " CROSS_LD_LIBRARY_PATH=/path - Library search path for cross-compiling"
$(Q)echo " CC=cgcc - Use sparse compiler wrapper"
$(Q)echo " CFLAGS=\"-O2 -Wall ...\" - Overwrite CFLAGS for compilation"
$(Q)echo " CPPFLAGS=\"-I <path> ...\" - Additional CFLAGS for compilation"