From cc3fe524c2daa8c136e6484540130da7252a8f1b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 14 Apr 2015 08:32:38 +0200 Subject: build: Remove DISTRO build flag, don't optimize by default Currently, when building with DISTRO=0 we optimize for the build host's architecture by default. This is not compatible with cross-compiling. Remove the DISTRO flag and only build with -O2 and no -march/-mtune flags by default. Support for specifying optimization flags via configure script will be added in a follow-up patch. Signed-off-by: Tobias Klauser --- INSTALL | 7 ------- 1 file changed, 7 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 44b5e1d..d170bc2 100644 --- a/INSTALL +++ b/INSTALL @@ -181,13 +181,6 @@ make target is executed with: $ make Q= -Concerning packaging the toolkit for a Linux distribution, by default, -netsniff-ng has some architecture-specific tuning options enabled that don't -belong into a package binary of a distribution. Hence, you might want to build -the toolkit with: - - $ make DISTRO=1 - A hardening option is also available via HARDENING=1 if needed. You can then build and install the toolkit into prefixed path like: -- cgit v1.2.3-54-g00ecf