- pgrepro doesn't pass preprocessor tests - pgc++ doesn't understand -pthread switch given to it by libtool
22 lines
404 B
Plaintext
Executable File
22 lines
404 B
Plaintext
Executable File
#!/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 \
|
|
--enable-cxx \
|
|
--enable-unsupported \
|
|
--enable-threadsafe \
|
|
--with-pic \
|
|
|| exit 1
|
|
}
|
|
|
|
pbuild::add_to_group 'Compiler'
|
|
pbuild::make_all
|
|
|