Move -DHAVE_GCC_BUILTIN_ATOMIC to solenv/gbuild
Change-Id: I82f62c998837783ac69317123268b0c87f74425f
This commit is contained in:
parent
1d6e13e13b
commit
8474c6af65
2 changed files with 6 additions and 3 deletions
|
@ -40,9 +40,6 @@ $(eval $(call gb_Library_set_include,sal,\
|
|||
))
|
||||
|
||||
$(eval $(call gb_Library_add_defs,sal,\
|
||||
$(if $(filter $(HAVE_GCC_BUILTIN_ATOMIC),TRUE), \
|
||||
-DHAVE_GCC_BUILTIN_ATOMIC \
|
||||
) \
|
||||
$(if $(VALGRIND_CFLAGS), \
|
||||
$(VALGRIND_CFLAGS) \
|
||||
-DHAVE_MEMCHECK_H=1 \
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue