mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-24 16:02:23 +00:00
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:
parent
b60dd09b3b
commit
5cc73d98c3
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user