diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-27 10:48:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-27 13:33:43 +0200 |
commit | 8474c6af652343777653e6ac8115b994b54ff853 (patch) | |
tree | fcd80146bf6d6b2e4f89e08625d2c2a25a4abce3 /solenv | |
parent | 1d6e13e13b36163c07fc6013c9c3da6fc553e697 (diff) |
Move -DHAVE_GCC_BUILTIN_ATOMIC to solenv/gbuild
Change-Id: I82f62c998837783ac69317123268b0c87f74425f
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 39fa02b844ee..d0d613665c0e 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -57,6 +57,12 @@ gb_COMPILERDEFS := \ -DCPPU_ENV=gcc3 \ -DGXX_INCLUDE_PATH=$(GXX_INCLUDE_PATH) \ +ifeq ($(HAVE_GCC_BUILTIN_ATOMIC),TRUE) +gb_COMPILERDEFS += \ + -DHAVE_GCC_BUILTIN_ATOMIC \ + +endif + gb_CFLAGS_COMMON := \ -Wall \ -Wendif-labels \ |