summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2020-02-22 00:25:24 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2020-03-30 10:58:02 +0000
commit5cc73d98c3bed3035a8486fb0244690410b61a1f (patch)
treeecfe558b61598b46887f6f283667c7a2c85c18f4
parentb60dd09b3b1d80529249a28f419644f1f66bc0e0 (diff)
downloadabuild-5cc73d98c3bed3035a8486fb0244690410b61a1f.tar.bz2
abuild-5cc73d98c3bed3035a8486fb0244690410b61a1f.tar.xz
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.
-rw-r--r--newapkbuild.in2
1 files changed, 0 insertions, 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__