aboutsummaryrefslogtreecommitdiff
path: root/autosetup/cc-shared.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'autosetup/cc-shared.tcl')
-rw-r--r--autosetup/cc-shared.tcl10
1 files changed, 6 insertions, 4 deletions
diff --git a/autosetup/cc-shared.tcl b/autosetup/cc-shared.tcl
index cbe568018e96..1fa200eec184 100644
--- a/autosetup/cc-shared.tcl
+++ b/autosetup/cc-shared.tcl
@@ -89,13 +89,15 @@ switch -glob -- [get-define host] {
define SH_SOPREFIX -Wl,-h,
}
}
- *-*-hpux {
- # XXX: These haven't been tested
- define SHOBJ_CFLAGS "+O3 +z"
+ *-*-hpux* {
+ define SHOBJ_CFLAGS +z
define SHOBJ_LDFLAGS -b
define SH_CFLAGS +z
+ define SH_LDFLAGS -b
define SH_LINKFLAGS -Wl,+s
- define LD_LIBRARY_PATH SHLIB_PATH
+ define SH_LINKRPATH "-Wl,+b -Wl,%s"
+ define SH_SOPREFIX -Wl,+h,
+ define STRIPLIBFLAGS -Wl,-s
}
*-*-haiku {
define SHOBJ_CFLAGS ""