Patch ltmain.sh
in autogen.sh
per this Libtool thread:
http://www.mail-archive.com/libtool@gnu.org/msg11249.html This commit was SVN r23665.
This commit is contained in:
parent
2c52096976
commit
7acb18f3d4
@ -11,6 +11,7 @@
|
||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
# Copyright (c) 2007-2010 Cisco Systems, Inc. All rights reserved.
|
||||
# Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
|
||||
# $COPYRIGHT$
|
||||
#
|
||||
# Additional copyrights may follow
|
||||
@ -442,6 +443,13 @@ EOF
|
||||
|
||||
echo "** Adjusting libltdl for OMPI :-("
|
||||
|
||||
echo " ++ patching PGI -tp bug in ltmain.sh"
|
||||
if test -z "`grep -w tp config/ltmain.sh`"; then
|
||||
patch -N -p0 < config/ltmain_pgi_tp.diff
|
||||
else
|
||||
echo " -- your libtool doesn't need this! yay!"
|
||||
fi
|
||||
|
||||
echo " ++ preopen error masking ib libltdl"
|
||||
if test -r opal/libltdl/loaders/preopen.c; then
|
||||
patch -N -p0 < config/libltdl-preopen-error.diff
|
||||
|
11
config/ltmain_pgi_tp.diff
Normal file
11
config/ltmain_pgi_tp.diff
Normal file
@ -0,0 +1,11 @@
|
||||
--- config/ltmain.sh
|
||||
+++ config/ltmain.sh
|
||||
@@ -4765,7 +4765,7 @@
|
||||
# -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
|
||||
# @file GCC response files
|
||||
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
|
||||
- -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
|
||||
+ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp|-tp=*)
|
||||
func_quote_for_eval "$arg"
|
||||
arg="$func_quote_for_eval_result"
|
||||
func_append compile_command " $arg"
|
Loading…
Reference in New Issue
Block a user