Commit 8acd7437 authored by Carit Zhu's avatar Carit Zhu 🎱

Modify Makefile to add LDFLAGS for GNU_HASH issue.

parent 72bf620f
......@@ -17,6 +17,7 @@ endif
CC = $(CROSS_COMPILE)gcc
CFLAGS ?=
LDFLAGS ?=
LIBS ?=
ifeq ($(ARCH), arm)
......@@ -48,7 +49,7 @@ all: timemanager
# Build objects
timemanager: $(objects)
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS)
# Temp objects
%.o: $(SRC_DIR)/%.c
......
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