From da370a9a887ebd8e900a9746823c087abab890e3 Mon Sep 17 00:00:00 2001 From: b1v1r Date: Sun, 31 May 2009 09:19:26 +0000 Subject: [PATCH] Add handling of -pthread option to apxs-wrapper for Tru64 builds. --- apache2/build/apxs-wrapper.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apache2/build/apxs-wrapper.in b/apache2/build/apxs-wrapper.in index aa53e7d8..7e032731 100755 --- a/apache2/build/apxs-wrapper.in +++ b/apache2/build/apxs-wrapper.in @@ -5,6 +5,9 @@ for opt in "$@"; do case "$opt" in # Fix for -R not working w/apxs -R*) WRAPPED_OPTS="$WRAPPED_OPTS -Wl,$opt" ;; + # OSF1 compiler option + -pthread) WRAPPED_OPTS="$WRAPPED_OPTS -Wc,$opt" ;; + # Unwrapped *) WRAPPED_OPTS="$WRAPPED_OPTS $opt" ;; esac done