diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-26 21:23:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2016-04-26 21:23:39 +0200 |
commit | 812bb90591b59218ea6092fd1abdd41c92aaea8d (patch) | |
tree | c5bc2f0dbe41bccb4e03db81321cf1a165efeed1 /toolchain/gcc/Makefile | |
parent | d6e5d487123db846468e0f4df9e0d8cd85f048df (diff) |
allow to experiment with gcc go
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r-- | toolchain/gcc/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 3dc9227b3..7477b3c8a 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -53,6 +53,7 @@ GCC_CONFOPTS:= --prefix=$(TOOLCHAIN_DIR)/usr \ --without-ppl \ --without-cloog \ --without-isl \ + --disable-werror \ --disable-nls ifeq ($(ADK_TARGET_LIB_NEWLIB),y) @@ -199,6 +200,9 @@ endif ifeq ($(ADK_TOOLCHAIN_WITH_FORTRAN),y) USE_LANG+=fortran endif +ifeq ($(ADK_TOOLCHAIN_WITH_GO),y) +USE_LANG+=go +endif LANGUAGES=$(shell echo ${USE_LANG} |tr ' ' ',') @@ -284,8 +288,8 @@ $(WRKBUILD)/.compiled: PATH='$(TARGET_PATH)' \ CC='$(HOST_CC)' \ CXX='$(HOST_CXX)' \ - CFLAGS_FOR_TARGET='$(TARGET_CFLAGS)' \ - CXXFLAGS_FOR_TARGET='$(TARGET_CXXFLAGS)' \ + CFLAGS_FOR_TARGET='$(TARGET_CFLAGS) -lpthread' \ + CXXFLAGS_FOR_TARGET='$(TARGET_CXXFLAGS) -lpthread' \ $(WRKBUILD)/configure \ ${GCC_CONFOPTS} \ ${GCC_FINAL_CONFOPTS} \ |