mirror of https://github.com/BOINC/boinc.git
Enable c++11 when building sample applications for linux release
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
b02d2d8cc3
commit
9fa3f1210d
|
@ -246,7 +246,7 @@ jobs:
|
|||
if: success() && matrix.type == 'apps'
|
||||
run: |
|
||||
export CFLAGS="-O3"
|
||||
export CXXFLAGS="-O3"
|
||||
export CXXFLAGS="-O3 -std=c++11"
|
||||
export LDFLAGS="-static-libstdc++ -s"
|
||||
export RELEASE_ARCH=x86_64
|
||||
./configure --enable-apps --enable-apps-vbox --disable-server --disable-client --disable-manager
|
||||
|
@ -256,7 +256,7 @@ jobs:
|
|||
if: success() && matrix.type == 'apps-x86'
|
||||
run: |
|
||||
export CFLAGS="-O3 -m32"
|
||||
export CXXFLAGS="-O3 -m32"
|
||||
export CXXFLAGS="-O3 -m32 -std=c++11"
|
||||
export LDFLAGS="-static-libstdc++ -s -m32"
|
||||
export RELEASE_ARCH=i686
|
||||
./configure --enable-apps --enable-apps-vbox --disable-server --disable-client --disable-manager --host=i686-linux-gnu
|
||||
|
|
|
@ -25,7 +25,7 @@ export CC=aarch64-linux-gnu-gcc
|
|||
export CXX=aarch64-linux-gnu-g++
|
||||
export LD=aarch64-linux-gnu-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -I$TCINCLUDES/include -march=armv8-a -O3"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -I$TCINCLUDES/include -march=armv8-a -O3"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -I$TCINCLUDES/include -march=armv8-a -O3 -std=c++11"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -march=armv8-a -latomic -static-libstdc++"
|
||||
|
||||
MAKE_FLAGS=""
|
||||
|
|
|
@ -26,7 +26,7 @@ export CC=aarch64-linux-gnu-gcc
|
|||
export CXX=aarch64-linux-gnu-g++
|
||||
export LD=aarch64-linux-gnu-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -I$TCINCLUDES/include -march=armv8-a -O3 -I$BOINC -I$BOINC_LIB_DIR -I$BOINC_API_DIR -I$BOINC_ZIP_DIR"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -I$TCINCLUDES/include -march=armv8-a -O3 -I$BOINC -I$BOINC_LIB_DIR -I$BOINC_API_DIR -I$BOINC_ZIP_DIR"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -I$TCINCLUDES/include -march=armv8-a -O3 -I$BOINC -I$BOINC_LIB_DIR -I$BOINC_API_DIR -I$BOINC_ZIP_DIR -std=c++11"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -march=armv8-a -latomic -static-libstdc++"
|
||||
|
||||
CONFIG_FLAGS="--with-ssl=$TCINCLUDES --with-libcurl=$TCINCLUDES"
|
||||
|
|
|
@ -21,7 +21,7 @@ export CC=aarch64-linux-gnu-gcc
|
|||
export CXX=aarch64-linux-gnu-g++
|
||||
export LD=aarch64-linux-gnu-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -march=armv8-a -O3"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -march=armv8-a -O3"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -march=armv8-a -O3 -std=c++11"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -march=armv8-a -static-libstdc++ -static"
|
||||
|
||||
MAKE_FLAGS=""
|
||||
|
|
|
@ -25,7 +25,7 @@ export CC=aarch64-linux-gnu-gcc
|
|||
export CXX=aarch64-linux-gnu-g++
|
||||
export LD=aarch64-linux-gnu-ld
|
||||
export CFLAGS="--sysroot=$TCSYSROOT -march=armv8-a -O3"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -march=armv8-a -O3"
|
||||
export CXXFLAGS="--sysroot=$TCSYSROOT -march=armv8-a -O3 -std=c++11"
|
||||
export LDFLAGS="-L$TCSYSROOT/usr/lib -L$TCINCLUDES/lib -march=armv8-a -latomic -static-libstdc++"
|
||||
|
||||
MAKE_FLAGS=""
|
||||
|
|
Loading…
Reference in New Issue