Changeset View
Changeset View
Standalone View
Standalone View
emulators/virtualbox-ose/files/patch-configure
Show All 28 Lines | |||||
#endif | #endif | ||||
} | } | ||||
EOF | EOF | ||||
- if test_compile "-lasound" asound asound; then | - if test_compile "-lasound" asound asound; then | ||||
+ if test_compile "$INCALSA $LIBALSA -lasound" asound asound; then | + if test_compile "$INCALSA $LIBALSA -lasound" asound asound; then | ||||
test_execute | test_execute | ||||
fi | fi | ||||
} | } | ||||
@@ -1694,6 +1701,7 @@ | |||||
if [ $? -eq 0 ]; then | |||||
echo "(Qt5 from pkg-config)" >> $LOG | |||||
FLGQT5=`pkg-config Qt5Core --cflags` | |||||
+ FLGQT5="$FLGQT5 -std=c++11" | |||||
INCQT5=`strip_I "$FLGQT5"` | |||||
LIBDIR5=`pkg-config Qt5Core --variable=libdir` | |||||
LIBQT5=`pkg-config Qt5Core --libs` | |||||
@@ -2126,8 +2133,8 @@ EOF | @@ -2126,8 +2133,8 @@ EOF | ||||
echo "compiling the following source file:" >> $LOG | echo "compiling the following source file:" >> $LOG | ||||
cat $ODIR.tmp_src.cc >> $LOG | cat $ODIR.tmp_src.cc >> $LOG | ||||
echo "using the following command line:" >> $LOG | echo "using the following command line:" >> $LOG | ||||
- echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so" >> $LOG | - echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so" >> $LOG | ||||
- $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so >> $LOG 2>&1 | - $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so >> $LOG 2>&1 | ||||
+ echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so -pthread" >> $LOG | + echo "$CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so -pthread" >> $LOG | ||||
+ $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so -pthread >> $LOG 2>&1 | + $CXX -O -Wall -o $ODIR.tmp_out $ODIR.tmp_src.cc -I$p/include/$d $p/$b/lib$d.so -pthread >> $LOG 2>&1 | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |