summaryrefslogtreecommitdiff
path: root/icu
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-13 10:01:15 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-11-13 10:01:32 +0100
commitc814fba439237cb11f5d880eeba4bb8457752f02 (patch)
treea945de10338d0b1b21315972eb74b17d4b020dd0 /icu
parent3e5aaeb07e24e733b2abed8305d2ba2fa4fa89b0 (diff)
Fix icu build with GCC versions that don't have the builtin atomics detected
Change-Id: I9f943f807e0966aafa66dbb865941cf975ad9fe2
Diffstat (limited to 'icu')
-rw-r--r--icu/makefile.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/icu/makefile.mk b/icu/makefile.mk
index bfb40c289eac..01695cce18ea 100644
--- a/icu/makefile.mk
+++ b/icu/makefile.mk
@@ -73,6 +73,8 @@ PATCH_FILES+=\
.IF "$(HAVE_GCC_BUILTIN_ATOMIC)"=="TRUE"
EXTRA_CDEFS+=-DU_HAVE_GCC_ATOMICS=1
+.ELSE
+EXTRA_CDEFS+=-DU_HAVE_GCC_ATOMICS=0
.ENDIF
.IF "$(GUI)"=="UNX"