Fixed LDFLAGS for cross-compiling of "native"
This commit is contained in:
parent
092c69639c
commit
d0f18e5d04
|
@ -15,9 +15,9 @@ endif
|
||||||
CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR)
|
CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR)
|
||||||
CFLAGS += $(CFLAGSNO) -O
|
CFLAGS += $(CFLAGSNO) -O
|
||||||
ifeq ($(HOST_OS),Linux)
|
ifeq ($(HOST_OS),Linux)
|
||||||
LDFLAGS = -Wl,-Map=contiki-$(TARGET).map,-export-dynamic
|
LDFLAGS += -Wl,-Map=contiki-$(TARGET).map,-export-dynamic
|
||||||
else
|
else
|
||||||
LDFLAGS = -Wl
|
LDFLAGS += -Wl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### Compilation rules
|
### Compilation rules
|
||||||
|
|
Loading…
Reference in a new issue