From d0f18e5d04c3feb163c8c870076be005514dbf06 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 11 Jul 2012 01:09:34 +0100 Subject: [PATCH] Fixed LDFLAGS for cross-compiling of "native" --- cpu/native/Makefile.native | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/native/Makefile.native b/cpu/native/Makefile.native index 166c139cc..9f0ce13fb 100644 --- a/cpu/native/Makefile.native +++ b/cpu/native/Makefile.native @@ -15,9 +15,9 @@ endif CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR) CFLAGS += $(CFLAGSNO) -O ifeq ($(HOST_OS),Linux) - LDFLAGS = -Wl,-Map=contiki-$(TARGET).map,-export-dynamic + LDFLAGS += -Wl,-Map=contiki-$(TARGET).map,-export-dynamic else - LDFLAGS = -Wl + LDFLAGS += -Wl endif ### Compilation rules