mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
flac: fix gcc2 build
This commit is contained in:
@@ -64,8 +64,7 @@ BUILD()
|
||||
{
|
||||
if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then
|
||||
mkdir -p builddir
|
||||
cp /packages/gcc-2.95.3_2017_07_20-2/.self/develop/tools/lib/gcc-lib/i586-pc-haiku/\
|
||||
2.95.3-haiku-2017_07_20/../../../../include/g++/iostream.h builddir/
|
||||
cp /boot/system/develop/headers/c++/2.95.3/iostream.h builddir/
|
||||
sed -i 's/_G_HAVE_BOOL/0/g' builddir/iostream.h
|
||||
export CPPFLAGS="-include iostream.h"
|
||||
additionalArgs="-DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF"
|
||||
|
||||
Reference in New Issue
Block a user