projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9404c
)
Prevent NO_DYLD_BIND_FULLY_IMAGE redefinition (Darwin)
author
Ivan Maidanski
<ivmai@mail.ru>
Tue, 14 Feb 2012 19:34:30 +0000
(23:34 +0400)
committer
Ivan Maidanski
<ivmai@mail.ru>
Tue, 14 Feb 2012 19:34:30 +0000
(23:34 +0400)
* include/private/gcconfig.h (NO_DYLD_BIND_FULLY_IMAGE): Do not define
if already defined (e.g., by compiler -D option).
include/private/gcconfig.h
patch
|
blob
|
history
diff --git
a/include/private/gcconfig.h
b/include/private/gcconfig.h
index
1a6436c
..
d9c1d63
100644
(file)
--- a/
include/private/gcconfig.h
+++ b/
include/private/gcconfig.h
@@
-1973,7
+1973,9
@@
/* FIXME: There seems to be some issues with trylock hanging on */
/* darwin. This should be looked into some more. */
# define NO_PTHREAD_TRYLOCK
-# define NO_DYLD_BIND_FULLY_IMAGE
+# ifndef NO_DYLD_BIND_FULLY_IMAGE
+# define NO_DYLD_BIND_FULLY_IMAGE
+# endif
# endif
# ifdef OPENBSD
# define ALIGNMENT 4