diff options
Diffstat (limited to 'src/template/hpux')
-rw-r--r-- | src/template/hpux | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/template/hpux b/src/template/hpux index 79d3475664e..50fff80c530 100644 --- a/src/template/hpux +++ b/src/template/hpux @@ -8,6 +8,13 @@ if test "$GCC" != yes ; then CFLAGS="+O2" fi +# Extra CFLAGS for code that will go into a shared library +if test "$GCC" = yes ; then + CFLAGS_SL="-fPIC" +else + CFLAGS_SL="+Z" +fi + # Pick right test-and-set (TAS) code. We need out-of-line assembler # when not using gcc. case $host in |