X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..46f4442e9a5a4f3b98b7c1083586332f6a8a99a4:/icuSources/config/mh-hpux-acc diff --git a/icuSources/config/mh-hpux-acc b/icuSources/config/mh-hpux-acc index f4c3e02c..fd5438b1 100644 --- a/icuSources/config/mh-hpux-acc +++ b/icuSources/config/mh-hpux-acc @@ -1,6 +1,6 @@ ## -*-makefile-*- ## HP/UX-specific setup using aCC -## Copyright (c) 1999-2004, International Business Machines Corporation and +## Copyright (c) 1999-2007, International Business Machines Corporation and ## others. All Rights Reserved. ## Commands to generate dependency files @@ -17,16 +17,19 @@ SHAREDLIBCXXFLAGS = +z THREADSCPPFLAGS = -D_REENTRANT -D_THREAD_SAFE # Use Extended ANSI mode, which is useful for 64-bit numbers -# +Olibcalls uses intrinsic functions for strlen and others # +W ignores some warnings -# 495 The linkage directive is ignored for an object or function... # 740 Unsafe cast between pointers/references to incomplete classes... # 749 This operation is non-portable and potentially unsafe. # (Ironically the solution to fix this warning is non-portable) # 823 Redundant preprocessing concatenation operation results in two valid # preprocessing tokens. This comes from INT64_C in -CFLAGS += +Olibcalls -Ae +ESlit -CXXFLAGS += +Olibcalls +W495 +W740 +W749 +W823 +# 4232 conversion to a more strictly aligned type may cause misaligned access. +CFLAGS += -Ae +ESlit +CXXFLAGS += +W740 +W749 +W823 +W4232 + +# -Bhidden_def Hides all symbols defined in the module. +#LIBCFLAGS = -Bhidden_def +#LIBCXXFLAGS = -Bhidden_def ## Commands to compile COMPILE.c= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -c @@ -34,7 +37,7 @@ COMPILE.cc= $(CXX) $(DEFS) $(CPPFLAGS) $(CXXFLAGS) -c ## Common 'default' path to ensure the sanity of users. Search the current ## directory, at least. -LD_DEFAULTPATH= -Wl,+b,.:'$$'ORIGIN/ +LD_DEFAULTPATH= -Wl,+b,'$$'ORIGIN/ # Use SHLIB_PATH and LD_LIBRARY_PATH to locate shared libraries LDFLAGS += -Wl,+s $(LD_DEFAULTPATH) @@ -61,7 +64,7 @@ LD_SONAME = -Wl,+h,$(notdir $(MIDDLE_SO_TARGET)) ## The type of assembly needed when pkgdata is used for generating shared libraries. # Commented out for now because the hp1 test machine runs out of memory. -#GENCCODE_ASSEMBLY=-a aCC +#GENCCODE_ASSEMBLY=-a aCC-parisc ## Shared object suffix SO= sl