Adapt to PGI compilers
- pgrepro doesn't pass preprocessor tests - pgc++ doesn't understand -pthread switch given to it by libtool
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
test "$(basename "$CPP")" = "pgprepro" && {
|
||||
CPP=cpp
|
||||
CXX=g++
|
||||
echo "INFO: substituted pgprepro with cpp, and pgc++ with g++!"
|
||||
}
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-shared \
|
||||
|
||||
Reference in New Issue
Block a user