Skip to content

Commit

Permalink
Correct debian rules to add -DCMAKE_BUILD_TYPE=Release for arm builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbcat committed Apr 22, 2022
1 parent b75be76 commit 429abb1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,20 @@ ifeq ($(DEB_BUILD_ARCH_CPU), arm)
dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DOCPN_ENABLE_SYSTEM_CMD_SOUND:BOOL=ON \
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
else ifeq ($(DEB_BUILD_ARCH_CPU), aarch64)
dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DOCPN_ENABLE_SYSTEM_CMD_SOUND:BOOL=ON \
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
else ifeq ($(DEB_BUILD_ARCH_CPU), arm64)
dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DOCPN_ENABLE_SYSTEM_CMD_SOUND:BOOL=ON \
-DCMAKE_INSTALL_LIBDIR=lib
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
else
dh_auto_configure -- \
-DCMAKE_INSTALL_LIBDIR=lib \
Expand Down

0 comments on commit 429abb1

Please sign in to comment.