summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-04 10:05:00 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-04 10:05:07 +0200
commit42a794b170f85cd2a016ed78a62e2367e9bd1de0 (patch)
tree965c20295ab8cb1032d4ad74546bb1cd77750c72 /toolchain/gcc/Makefile
parent17503c1de144fd5afcbfa23796c3d92a5f1cfde6 (diff)
gccgo: fix bulding and package libgo
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index a9d17dde1..1561b7710 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -21,11 +21,6 @@ TARGET_CFLAGS:= $(filter-out -msep-data,$(TARGET_CFLAGS))
TARGET_CXXFLAGS:= $(filter-out -msep-data,$(TARGET_CXXFLAGS))
endif
-ifeq ($(ADK_TOOLCHAIN_WITH_GO),y)
-TARGET_CFLAGS+= -lpthread -lrt
-TARGET_CXXFLAGS+= -lpthread -lrt
-endif
-
GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \
--with-bugurl="http://www.openadk.org/" \
--build=$(GNU_HOST_NAME) \
@@ -76,8 +71,7 @@ endif
ifeq ($(ADK_TARGET_BINFMT_FLAT)$(ADK_TARGET_USE_STATIC_LIBS)$(ADK_TARGET_BINFMT_DSBT),y)
GCC_FINAL_CONFOPTS+= --disable-shared
else
-# uClibc/glibc uses libgcc_s.so.1 for pthread_cancel with dlopen
-GCC_FINAL_CONFOPTS+= --enable-shared='libstdc++,libgcc' --enable-cxx-flags='-fPIC'
+GCC_FINAL_CONFOPTS+= --enable-shared --enable-cxx-flags='-fPIC'
endif
ifeq ($(ADK_TOOLCHAIN_WITH_SSP),y)