Fixed LDFLAGS for cross-compiling of "native"

This commit is contained in:
Ilya Dmitrichenko 2012-07-11 01:09:34 +01:00 committed by Ilya Dmitrichenko
parent 092c69639c
commit d0f18e5d04

View File

@ -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