newapkbuild: do not pass CFLAGS and CXXFLAGS explicitly

With the None build type used nowadays these should be picked up
automatically by the environment. If not, we would also need to pass
CPPFLAGS and LDFLAGS explicitly.
This commit is contained in:
Sören Tempel 2020-02-22 00:25:24 +01:00 committed by Natanael Copa
parent b60dd09b3b
commit 5cc73d98c3
1 changed files with 0 additions and 2 deletions

View File

@ -66,8 +66,6 @@ build_cmake() {
-DCMAKE_INSTALL_LIBDIR=lib \\
-DBUILD_SHARED_LIBS=True \\
-DCMAKE_BUILD_TYPE=None \\
-DCMAKE_CXX_FLAGS="\$CXXFLAGS" \\
-DCMAKE_C_FLAGS="\$CFLAGS" \\
\${CMAKE_CROSSOPTS} .
make -C build
__EOF__