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