Commit 034acb49 authored by Lucas Russo's avatar Lucas Russo

Makefile: fix linker script passing (-T) for clang

Clang does not understand the -T option.

As this is used only by the linker, use
-Wl option to pass options directly to the
linker in use.
parent 756e72c4
......@@ -161,7 +161,7 @@ CFLAGS_DEBUG += -g
# Specific platform Flags
CFLAGS_PLATFORM = -Wall -Wextra -Werror
LDFLAGS_PLATFORM = -T $(LD_SCRIPT)
LDFLAGS_PLATFORM = -Wl,-T,$(LD_SCRIPT)
# Libraries
LIBS = -lm -lzmq -lczmq -lmlm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment