diff options
-rw-r--r-- | c++/config/hpux11.00 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/c++/config/hpux11.00 b/c++/config/hpux11.00 index 6f817c1..107e725 100644 --- a/c++/config/hpux11.00 +++ b/c++/config/hpux11.00 @@ -11,8 +11,9 @@ if test -z "$CXX"; then CXX_BASENAME=aCC fi -if test -z "$cxx_flags_set"; then -# +Z for PIC, +A for using archived libraries +case "$CXX" in + aCC) + # +Z for PIC, +A for using archived libraries CXXFLAGS="$CXXFLAGS +Z +A" CFLAGS="$CFLAGS -g +O2" DEBUG_CXXFLAGS=-g @@ -20,5 +21,14 @@ if test -z "$cxx_flags_set"; then PROD_CXXFLAGS="-O -s" PROD_CPPFLAGS= PROFILE_CPPFLAGS= - cxx_flags_set=yes -fi + ;; + *) + CXXFLAGS="$CXXFLAGS" + CFLAGS="$CFLAGS" + DEBUG_CXXFLAGS=-g + DEBUG_CPPFLAGS= + PROD_CXXFLAGS= + PROD_CPPFLAGS= + PROFILE_CPPFLAGS= + ;; +esac |