aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2013-12-16 16:49:18 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-11-28 18:05:31 +0000
commit6a7d33d8f8c46711dfc9129d3384c3c5fa16049f (patch)
tree17c7624ba97dafe694aa746a4a0f2f7ae36e04ad /Makefile
parentf17038fb18e15e250d23b51a1075e5017c8d71b2 (diff)
risu: enable static builds
It is possible to build statically with some limitations on the use of gethostbyname(). Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8f15119..2290bbd 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ OBJS=$(SRCS:.c=.o)
all: $(PROG) $(BINS)
$(PROG): $(OBJS)
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(STATIC) $(CFLAGS) -o $@ $^
%.o: %.c $(HDRS)
$(CC) $(CPPFLAGS) $(CFLAGS) -o $@ -c $<