summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-02 04:24:15 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-02 04:24:15 +0200
commit883465b8cc0303bd6a62e7f40769a2c6c3191f21 (patch)
tree33f06c611a69394d30489a5f78063076c92ae35e /toolchain/gcc/Makefile
parent7df07783055069263010fa4d8e3b2f98c625c74b (diff)
gcc-go: force linking with librt
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 0495cce4c..a9d17dde1 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -22,8 +22,8 @@ TARGET_CXXFLAGS:= $(filter-out -msep-data,$(TARGET_CXXFLAGS))
endif
ifeq ($(ADK_TOOLCHAIN_WITH_GO),y)
-TARGET_CFLAGS+= -lpthread
-TARGET_CXXFLAGS+= -lpthread
+TARGET_CFLAGS+= -lpthread -lrt
+TARGET_CXXFLAGS+= -lpthread -lrt
endif
GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \