From 5cc73d98c3bed3035a8486fb0244690410b61a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sat, 22 Feb 2020 00:25:24 +0100 Subject: 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. --- newapkbuild.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/newapkbuild.in b/newapkbuild.in index 395ec72..0bbd4ee 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -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__ -- cgit v1.2.3