From d40c03dab722ec3bf1ec8215b4a2621e93256ad0 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Fri, 4 Jan 2013 13:54:40 +0100 Subject: [PATCH] [ground_segment] make multimon compile on arm --- sw/ground_segment/multimon/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/ground_segment/multimon/Makefile b/sw/ground_segment/multimon/Makefile index 91af6142f06..0ac487b1b7b 100644 --- a/sw/ground_segment/multimon/Makefile +++ b/sw/ground_segment/multimon/Makefile @@ -49,7 +49,7 @@ endif LBITS := $(shell getconf LONG_BIT) ifeq ($(LBITS),64) CFLAGS += -fPIC -else +else ifeq ($(MACHINE),'i686') CFLAGS += -march=i486 -falign-loops=2 -falign-jumps=2 -falign-functions=2 -DARCH_I386 endif @@ -89,7 +89,7 @@ $(BINDIR)/%.o: %.c @echo CC $< $(Q)$(CC) $(CFLAGS) -c -o $@ $< -SRC_L2 =hdlc.c pprz.c +SRC_L2 = hdlc.c pprz.c SRC_L1 = demod_afsk48p.c demod_display.c SRC_MISC = unixinput.c xdisplay.c