From: Nadav Har'El <n...@scylladb.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master

makefile: remove space from cross-compilation prefix

The spaces in $(if ...) are not ignored - they result in a space
in the beginning of the CROSS_PREFIX variable. This is mostly harmless,
except that mkbootfs.py now uses $STRIP and because it passes it to
popen, not the shell, it doesn't like that it begins with a space.

Signed-off-by: Nadav Har'El <n...@scylladb.com>

---
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ ifeq (,$(wildcard conf/$(arch).mk))
 endif
 include conf/$(arch).mk

-CROSS_PREFIX ?= $(if $(filter-out $(arch), $(host_arch)), $(arch)-linux-gnu-)
+CROSS_PREFIX ?= $(if $(filter-out $(arch),$(host_arch)),$(arch)-linux-gnu-)
 CXX=$(CROSS_PREFIX)g++
 CC=$(CROSS_PREFIX)gcc
 LD=$(CROSS_PREFIX)ld.bfd

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to