X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/9d88c94317aeac5dd26c1dbe8c2112dbe855d2b5..73c04bcfe1096173b00431f0cdc742894b15eef0:/icuSources/config/mh-solaris-gcc diff --git a/icuSources/config/mh-solaris-gcc b/icuSources/config/mh-solaris-gcc index 6b822b15..e59e5c58 100644 --- a/icuSources/config/mh-solaris-gcc +++ b/icuSources/config/mh-solaris-gcc @@ -1,6 +1,6 @@ ## -*-makefile-*- ## Solaris-specific setup using gcc -## Copyright (c) 1999-2004, International Business Machines Corporation and +## Copyright (c) 1999-2006, International Business Machines Corporation and ## others. All Rights Reserved. ## Flags for position independent code @@ -12,6 +12,12 @@ SHAREDLIBCPPFLAGS = -DPIC GEN_DEPS.c= $(CC) -E -MM $(DEFS) $(CPPFLAGS) GEN_DEPS.cc= $(CXX) -E -MM $(DEFS) $(CPPFLAGS) +## These are the library specific LDFLAGS +LDFLAGSICUDT=-nodefaultlibs -nostdlib + +## Additional flags when building libraries and with threads +THREADSCPPFLAGS = -D_REENTRANT + ## Compiler switch to embed a runtime search path LD_RPATH= -R LD_RPATH_PRE= @@ -20,7 +26,10 @@ LD_RPATH_PRE= LD_SONAME = -h $(notdir $(MIDDLE_SO_TARGET)) ## The type of assembly needed when pkgdata is used for generating shared libraries. +## Only use this when not on x86 Solaris. +ifeq (strip $(GENCCODE_ASSEMBLY),) GENCCODE_ASSEMBLY=-a sun +endif ## Shared object suffix SO= so