diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-05-29 20:22:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-05-29 20:22:27 +0000 |
commit | 9a85ed03da6afed536ba4fb5107a4e8b9f01aec4 (patch) | |
tree | ffb905fbae8b421551bac556d96607de00cb5918 /libgo/Makefile.am | |
parent | cc8849a1597bb12c16a990bfed6a3b685952d493 (diff) | |
download | gcc-9a85ed03da6afed536ba4fb5107a4e8b9f01aec4.zip gcc-9a85ed03da6afed536ba4fb5107a4e8b9f01aec4.tar.gz gcc-9a85ed03da6afed536ba4fb5107a4e8b9f01aec4.tar.bz2 |
runtime: add the --without-libatomic configure option
This adds the --without-libatomic configure option, which is useful for building libgo
with a non-gcc compiler.
It disables libgo's dependency on libatomic. This
is useful for platforms where it is known that the libatomic runtime
functions are not required, or where the compiler automatically
provides an implementation of them.
From-SVN: r211065
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index efdeeab..91c5d1c 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -30,6 +30,8 @@ toolexeclibgodir = $(nover_glibgo_toolexeclibdir)/go/$(gcc_version)/$(target_ali LIBFFI = @LIBFFI@ LIBFFIINCS = @LIBFFIINCS@ +LIBATOMIC = @LIBATOMIC@ + WARN_CFLAGS = $(WARN_FLAGS) $(WERROR) # -I/-D flags to pass when compiling. @@ -1949,8 +1951,7 @@ libgo_la_LDFLAGS = \ libgo_la_LIBADD = \ $(libgo_go_objs) ../libbacktrace/libbacktrace.la \ - ../libatomic/libatomic_convenience.la \ - $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS) + $(LIBATOMIC) $(LIBFFI) $(PTHREAD_LIBS) $(MATH_LIBS) $(NET_LIBS) libgobegin_a_SOURCES = \ runtime/go-main.c |