diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-10-30 08:50:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-30 07:26:56 +0000 |
commit | d9eba16d355e6c8600d112c9f50cb2537ad2813d (patch) | |
tree | 2c3cc1a81bc99204eb0266efb99123ee1578cce3 | |
parent | 8638dacee0e9015d31ebf9c0b03ef15511576c37 (diff) | |
download | abuild-d9eba16d355e6c8600d112c9f50cb2537ad2813d.tar.gz abuild-d9eba16d355e6c8600d112c9f50cb2537ad2813d.tar.bz2 abuild-d9eba16d355e6c8600d112c9f50cb2537ad2813d.tar.xz abuild-d9eba16d355e6c8600d112c9f50cb2537ad2813d.zip |
newapkbuild: dont set CXX/C COMPILER
cmake is normally able to figure it out and setting them may break
ccache.
-rw-r--r-- | newapkbuild.in | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/newapkbuild.in b/newapkbuild.in index 63b33ad..a47dcae 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -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 |