]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/config/mh-bsd-gcc
ICU-491.11.3.tar.gz
[apple/icu.git] / icuSources / config / mh-bsd-gcc
index 10e5587060dc6791db7253c921549bbcfb0b3664..5f8a38d56149948c5487db2eb839f9376baf734c 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
-## FreeBSD-specific setup
-## Copyright (c) 1999-2004, International Business Machines Corporation and
+## BSD-specific setup (FreeBSD, OpenBSD, NetBSD, *BSD)
+## Copyright (c) 1999-2009, International Business Machines Corporation and
 ## others. All Rights Reserved.
 
 ## Commands to generate dependency files
@@ -12,6 +12,10 @@ SHAREDLIBCFLAGS = -fPIC
 SHAREDLIBCXXFLAGS = -fPIC
 SHAREDLIBCPPFLAGS = -DPIC
 
+## Additional flags when building libraries and with threads
+THREADSCPPFLAGS = -D_REENTRANT
+LIBCPPFLAGS =
+
 ## Compiler switch to embed a runtime search path
 LD_RPATH=      
 LD_RPATH_PRE=  -Wl,-rpath,
@@ -19,6 +23,9 @@ LD_RPATH_PRE= -Wl,-rpath,
 ## Compiler switch to embed a library name
 LD_SONAME = -Wl,-soname -Wl,$(notdir $(MIDDLE_SO_TARGET))
 
+## Shared library options
+LD_SOOPTIONS= -Wl,-Bsymbolic
+
 ## Shared object suffix
 SO = so
 ## Non-shared intermediate object suffix