ca333
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
zcutil/build-mac.sh
|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
export CC=gcc-6 |
|
|
|
export CXX=g++-6 |
|
|
|
export CC=gcc-8 |
|
|
|
export CXX=g++-8 |
|
|
|
export LIBTOOL=libtool |
|
|
|
export AR=ar |
|
|
|
export RANLIB=ranlib |
|
|
@ -52,7 +52,7 @@ cd $WD |
|
|
|
|
|
|
|
./autogen.sh |
|
|
|
CPPFLAGS="-I$PREFIX/include -arch x86_64" LDFLAGS="-L$PREFIX/lib -arch x86_64 -Wl,-no_pie" \ |
|
|
|
CXXFLAGS='-arch x86_64 -I/usr/local/Cellar/gcc\@6/6.4.0_2/include/c++/6.4.0/ -I$PREFIX/include -fwrapv -fno-strict-aliasing -Wno-builtin-declaration-mismatch -Werror -g -Wl,-undefined -Wl,dynamic_lookup' \ |
|
|
|
CXXFLAGS='-arch x86_64 -I/usr/local/Cellar/gcc\@8/8.3.0/include/c++/8.3.0/ -I$PREFIX/include -fwrapv -fno-strict-aliasing -Wno-builtin-declaration-mismatch -Werror -g -Wl,-undefined -Wl,dynamic_lookup' \ |
|
|
|
./configure --prefix="${PREFIX}" --with-gui=no "$HARDENING_ARG" "$LCOV_ARG" |
|
|
|
|
|
|
|
make "$@" V=1 NO_GTEST=1 STATIC=1 |
|
|
|