newapkbuild: dont set CXX/C COMPILER
cmake is normally able to figure it out and setting them may break ccache.
This commit is contained in:
parent
8638dacee0
commit
d9eba16d35
|
@ -69,10 +69,8 @@ build_cmake() {
|
|||
-DCMAKE_INSTALL_LIBDIR=lib \\
|
||||
-DBUILD_SHARED_LIBS=True \\
|
||||
-DCMAKE_BUILD_TYPE=Release \\
|
||||
-DCMAKE_CXX_COMPILER="\${CXX:-g++}" \\
|
||||
-DCMAKE_C_COMPILER="\${CC:-gcc}" \\
|
||||
-DCMAKE_CXX_FLAGS="\$CXXFLAGS" \\
|
||||
-DCMAKE_CXX_FLAGS="\$CFLAGS" \\
|
||||
-DCMAKE_C_FLAGS="\$CFLAGS" \\
|
||||
${CMAKE_CROSSOPTS} \\
|
||||
|| return 1
|
||||
make || return 1
|
||||
|
|
Loading…
Reference in New Issue