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 --- Misc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Misc') diff --git a/Misc b/Misc index 818c4a3..8031c79 100644 --- a/Misc +++ b/Misc @@ -103,7 +103,7 @@ help: $(Q)echo " nacl - Execute the build_nacl script" $(Q)echo " help - Show this help" $(Q)echo "$(bold)Available parameters:$(normal)" - $(Q)echo " DEBUG=1 / DISTRO=1 - Enable debugging / Build for distros" + $(Q)echo " DEBUG=1 - Enable debugging" $(Q)echo " HARDENING=1 - Enable GCC hardening of executables" $(Q)echo " PREFIX=/path - Install path prefix" $(Q)echo " DESTDIR=/path - Alternative install destination path" -- cgit v1.2.3-54-g00ecf